X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f18baae22e4088af7f252c82f3c4a2576862a438..4e45f3a76fbc46280bbbecddd4307d2ab70fa613:/app/controllers/concerns/session_methods.rb diff --git a/app/controllers/concerns/session_methods.rb b/app/controllers/concerns/session_methods.rb index 089a82ed4..dd6458b1b 100644 --- a/app/controllers/concerns/session_methods.rb +++ b/app/controllers/concerns/session_methods.rb @@ -81,7 +81,7 @@ module SessionMethods def unconfirmed_login(user) session[:token] = user.tokens.create.token - redirect_to :controller => "users", :action => "confirm", :display_name => user.display_name + redirect_to :controller => "confirmations", :action => "confirm", :display_name => user.display_name session.delete(:remember_me) session.delete(:referer)