Just wondering if and how I can access the referer from the controller. Thanks in advance
on 2006-03-24 10:07
on 2006-03-24 10:13
Give this a try: $HTTP["referer"] That should work,,, Chris
on 2006-03-24 10: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 10:40
How would I redirect to the referer?
on 2006-03-24 10:41
Alexander wrote: > How would I redirect to the referer? Sorry, redirect_to :back Works now. Thanks