X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/675b89ddb7f3c93ced3e6e1fed2db2caca4d67e4..d8e5b84e5b61a569bf3917b0b03a1d9faddcc89a:/app/mailers/user_mailer.rb?ds=sidebyside 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")