X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bd1420a7c51b7d1c3a64bc02756393c7ad2025f5..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,