Forum: Ruby on Rails using @request.request_uri

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
newtorails. (Guest)
on 2007-02-25 09:35
(Received via mailing list)
Hey all,
I am facing issues using @request.request_uri. In my before_filter I
get the right value of  @request.request_uri, but the value gets
screwed up in after_filter.

if i do session[:return_to]= @request.request_uri

it remains the correct value until before_filter but gets reset to /
in after_filter.

I am struggling with this problem for days and finding solving it

So any help is appreciated
This topic is locked and can not be replied to.