Re: [Rails] Trying to figure out proper syntax for URLHelper for HTTP Referer

2011-03-21 Thread Chris Mear
On 22 Mar 2011, at 05:42, "sol.manager" wrote: > I am trying to add a condition so a "back" button does not appear if > the user arrived at the current page directly from a link offsite > (eg., a link from a tweet). I do want the button to appear if the user > arrived at the page from another pag

[Rails] Trying to figure out proper syntax for URLHelper for HTTP Referer

2011-03-21 Thread sol.manager
I am trying to add a condition so a "back" button does not appear if the user arrived at the current page directly from a link offsite (eg., a link from a tweet). I do want the button to appear if the user arrived at the page from another page on our site: >From what I have read this seems like wh