Just wondering if and how I can access the referer from the controller. Thanks in advance
on 2006-03-24 11:07
on 2006-03-24 11:13
Give this a try: $HTTP["referer"] That should work,,, Chris
on 2006-03-24 11:28
or in your controller you could use request_uri -- may need to use @request.request_uri and a whold lot of others http://api.rubyonrails.org/classes/ActionControlle...
on 2006-03-24 11:40
How would I redirect to the referer?
on 2006-03-24 11:41
Alexander wrote: > How would I redirect to the referer? Sorry, redirect_to :back Works now. Thanks