request.fullpath - rails 3 change
This commit is contained in:
parent
c94ebdd7a0
commit
1f5c13fca3
|
@ -77,7 +77,7 @@ class ApplicationController < ActionController::Base
|
|||
end
|
||||
|
||||
def store_location
|
||||
session[:return_to] = request.request_uri
|
||||
session[:return_to] = request.fullpath
|
||||
end
|
||||
|
||||
def redirect_back_or_default(default)
|
||||
|
|
Loading…
Reference in a new issue