X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/71cb84bbe244d0ef471a385b02f1f432bc17b606..6272b041c6dd9c39cc7a23d6163651e74509da2b:/app/mailers/user_mailer.rb 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")