X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/28af501924c6cc30560f463fe818bb098a18b9cc..3bc20b6f21cb52a1ccaf10728a7e383df9fe7a7e:/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)