Monday, June 13, 2011

[Rails] 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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate