X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f18baae22e4088af7f252c82f3c4a2576862a438..3b1ef97c69a3279324fd07a6c49d8bf7ba432282:/app/controllers/concerns/session_methods.rb?ds=sidebyside 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)