From ad505984cd29373c7d9c03d2c67af003b5357cde Mon Sep 17 00:00:00 2001 From: Andrew Strovers Date: Fri, 10 Apr 2015 07:46:24 -0500 Subject: [PATCH] Fixes a line of code that needed change when devise gem was updated past version 3.1.0. --- app/views/devise/mailer/reset_password_instructions.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/devise/mailer/reset_password_instructions.html.erb b/app/views/devise/mailer/reset_password_instructions.html.erb index ae9e888a..8489e53d 100644 --- a/app/views/devise/mailer/reset_password_instructions.html.erb +++ b/app/views/devise/mailer/reset_password_instructions.html.erb @@ -2,7 +2,7 @@

Someone has requested a link to change your password, and you can do this through the link below.

-

<%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %>

+

<%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @token) %>

If you didn't request this, please ignore this email.

Your password won't change until you access the link above and create a new one.