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")