diff --git a/app/views/devise/mailer/reset_password_instructions.html.haml b/app/views/devise/mailer/reset_password_instructions.html.haml index 9a33c013..deb4afde 100644 --- a/app/views/devise/mailer/reset_password_instructions.html.haml +++ b/app/views/devise/mailer/reset_password_instructions.html.haml @@ -1,5 +1,5 @@ %p Hello #{@resource.screen_name}! %p Someone (hopefully you) has requested a link to change your password. You can do this through the link below. -%p= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) +%p= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @resource.password_reset_token) %p If you didn't request this, please ignore this email. %p Your password won't change until you access the link above and create a new one. \ No newline at end of file