X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cebda5ffb9bc45171ddc6b4c4a25f14912fdad51..d8e5b84e5b61a569bf3917b0b03a1d9faddcc89a:/app/mailers/user_mailer.rb?ds=inline diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index 89f8dfdbf..8ca186aad 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -34,8 +34,7 @@ class UserMailer < ApplicationMailer def lost_password(user, token) with_recipient_locale user do - @url = url_for(:controller => "passwords", :action => "reset_password", - :token => token.token) + @url = user_reset_password_url(:token => token.token) mail :to => user.email, :subject => t(".subject")