rtacconi
2011-Jun-13 12:57 UTC
force any controller to use HTTPS - ssl_requirement for Rails 2.x app
I have a Rails 2 app using ssl_requirement plugin. Is it possible to force HTTPS in any controller with one statement, instead of defining the actions in any controller? \ i.e. ssl_required :all => :force -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.