]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/concerns/session_methods.rb
Merge remote-tracking branch 'upstream/pull/3225'
[rails.git] / app / controllers / concerns / session_methods.rb
index 089a82ed432553c3265f9a1412918e3bea531d73..dd6458b1b9359aa42ed4b5bce4cc6a5df0b9a269 100644 (file)
@@ -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)