request.fullpath - rails 3 change

This commit is contained in:
Espen Antonsen 2011-04-25 13:49:06 +08:00
parent c94ebdd7a0
commit 1f5c13fca3

View file

@ -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)