Tim, thanks for the help, worked a treat.
On 12 July 2013 13:59, Timster <timshaffe...@gmail.com> wrote: > You're not stuffed. > > Right now you're generating the <a> tag manually with the path "/events" > > If you switch to Rails helpers to generate the URL, your problems can be > solved. Which helpers you use depends on how your routes are set up. > > How do you have your routes set up? Do you have something like this? > > resources :events > > If so, you can replace your %a link with this: > > link_to('Events', events_url(:protocol => 'http')) > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ruby on Rails: Talk" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/rubyonrails-talk/y7nRFfOzxi0/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/89ee512e-541f-4666-a063-98a4a8eb7947%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAEo0_Ui%3DYTvQ0QGpGawzLSM5mL9BS35q_UVhF%2B2RJQ_AWAhAFA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.