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