diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/authenticated_system.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/authenticated_system.rb b/lib/authenticated_system.rb index 838b734..217f79e 100644 --- a/lib/authenticated_system.rb +++ b/lib/authenticated_system.rb | |||
| @@ -74,7 +74,7 @@ module AuthenticatedSystem | |||
| 74 | # | 74 | # |
| 75 | # We can return to this location by calling #redirect_back_or_default. | 75 | # We can return to this location by calling #redirect_back_or_default. |
| 76 | def store_location | 76 | def store_location |
| 77 | session[:return_to] = request.request_uri | 77 | session[:return_to] = request.fullpath |
| 78 | end | 78 | end |
| 79 | 79 | ||
| 80 | # Redirect to the URI stored by the most recent store_location call or | 80 | # Redirect to the URI stored by the most recent store_location call or |
