> I'm using the ssl_requirement plugin. Is there a way to do this?
> 
> Thanks,
> N

Hi, we use the same plugin at https://www.digiprof.fr/login, we 
experienced the same problems. The main gotcha, is that you are 
certainly using some_resource_path in your link_to instead of 
some_resource_url.

Because with _path, the protocol used is the one of the current page 
because it actually generates relative paths. Using _url, the protocol 
of the page generated can be different as it generates absolute paths.

Have you also edited routes.rb to add the correct protocol?


--
French training using VoD: http://www.digiprof.fr
-- 
Posted via http://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