From b76a78bdfb33a1b66faee4769918a1264e12639b Mon Sep 17 00:00:00 2001 From: nilsding Date: Thu, 1 Jan 2015 18:17:40 +0100 Subject: [PATCH] also this --- app/views/devise/mailer/reset_password_instructions.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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