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