Displaying 2 results from an estimated 2 matches for "link_to_back".
2006 Jan 17
6
link_to or helper to generate a javascript:history.back() ?
Hello,
There is an link_to option or an helper that generate a link like :
<a href="javascript:history.back()">Back</a>
Thanks
2006 Mar 09
3
redirect_to :back question
Hi!
How to use this? I can declare it only inside a controller, so i tried
to do add this to application controller:
def back
redirect_to :back
end
so i could call in all my views
link_to ''back'', :controller => ''application'', :action => ''back''
but it doesn''t work - there are no errors, but i''m still on the same