]> git.openstreetmap.org Git - rails.git/blobdiff - app/mailers/user_mailer.rb
Split password reset functionality into PasswordsController
[rails.git] / app / mailers / user_mailer.rb
index bb4412e8a1927e4d702f3eeed884e785d51dc8db..bb43bc9626bec4bcb14218bb76b9f171ad2140f9 100644 (file)
@@ -34,7 +34,7 @@ class UserMailer < ApplicationMailer
 
   def lost_password(user, token)
     with_recipient_locale user do
-      @url = url_for(:controller => "users", :action => "reset_password",
+      @url = url_for(:controller => "passwords", :action => "reset_password",
                      :token => token.token)
 
       mail :to => user.email,