Is there a simple way to get the original url which spawned a
controller action, including any query parameters?
Thanks in advance,
Don Mc
Is there a simple way to get the original url which spawned a
controller action, including any query parameters?
Thanks in advance,
Don Mc
Hi Don –
On 16-Jul-06, at 9:56 PM, Don Mc wrote:
Is there a simple way to get the original url which spawned a
controller action, including any query parameters?
request.request_uri is what you’re looking for.
http://api.rubyonrails.org/classes/ActionController/
AbstractRequest.html#M000180
/Jeff
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs