On Feb 17, 10:35 am, Ralph Shnelvar <li...@ruby-forum.com> wrote:
> Anthony Franco wrote:
> > Try:
>
> > button_to "Back", :back
>
> It does not have the same behavior.
>
> If I understand the documentation, :back uses the referrer field.
>
> Does Rails maintain a "per window" or "per tab" linked list of URLs?
> visited?
>

Nope. (although I suppose you maintain such a list by collecting the
referrer on each page view).
If javascript is an option then history.go(-1) takes you one back.
What's wrong with the browser's back button ?

Fred

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to