Hunter Hillegas
2005-Nov-12 20:40 UTC
Having Trouble With :protocol and :host with link_to
Hello, I am trying to set the protocol and host in link_to based on the documentation. I have the following: <%= link_to "View Cart", {:controller => ''store'', :action => ''view_cart'', :protocol => ''https://'', :host => ''secure.host.com''} %> I would expect this to generate a https link to another host. Instead, all I get is: <a href="/store/view_cart">View Cart</a> Have I misunderstood the url_for specs? Thanks, Hunter