On Jul 12, 11:13 am, HUNT HUNT <[email protected]> wrote:
> I used ssl_requirement plugins, for secured http requests.
> I have implemented the secured http but the problem is
> that when I click for non_ssl action it also requests with HTTPS.
>
> suppose I used 2 actions to be secured
> I used this -->>  ssl_required :x, y
>
> I don't know where the prob is?

By default a link will always be generated with the same protocol
(http or https) that was used to access the page, if you want
otherwise you can pass a :protocol option to link_to (and to the other
similar helpers). ssl_requirement doesn't handle anything like this
for you.

Fred
> --
> Posted viahttp://www.ruby-forum.com/.

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

Reply via email to