X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/094d6c8bb9949825e1e66b07ba39190a8b57aa0b..826a864e6c3e1f733b74d6d5aacf6b3253507a75:/app/controllers/concerns/session_methods.rb diff --git a/app/controllers/concerns/session_methods.rb b/app/controllers/concerns/session_methods.rb index dd6458b1b..eb24f6b20 100644 --- a/app/controllers/concerns/session_methods.rb +++ b/app/controllers/concerns/session_methods.rb @@ -69,7 +69,7 @@ module SessionMethods def failed_login(message, username = nil) flash[:error] = message - redirect_to :action => "new", :referer => session[:referer], + redirect_to :controller => "sessions", :action => "new", :referer => session[:referer], :username => username, :remember_me => session[:remember_me] session.delete(:remember_me)