Commit 24950c67b548a38d82826c42b4f4702cdf5c5dc4
1 parent
36881c9e
Exists in
master
and in
29 other branches
rails3: change from request.request_uri to request.url
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/authenticated_system.rb
... | ... | @@ -93,7 +93,7 @@ module AuthenticatedSystem |
93 | 93 | # Store the URI of the current request in the session. |
94 | 94 | # |
95 | 95 | # We can return to this location by calling #redirect_back_or_default. |
96 | - def store_location(location = request.request_uri) | |
96 | + def store_location(location = request.url) | |
97 | 97 | session[:return_to] = location |
98 | 98 | end |
99 | 99 | ... | ... |