X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8f157ab2b19cec2cfe4455772ea5a76b1358126f..7a66c6d4eb65a5ad6438970375cf3ea6ac4e3cfc:/app/mailers/user_mailer.rb diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index bb4412e8a..bb43bc962 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -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,