I'm doing this tutorial on how to reset a forgotten password. It all works, except there's just an empty line in the email where the URL is supposed to be that will take you to the page to reset the password. The line where it should be added doesn't really make sense to me. I can't work out what edit_password_reset_url(user.perishable_token)
is actually referring to? Can someone explain it to me? Thanks for reading.
def password_reset_instructions(user)
subject "Password Reset Instructions"
from "Binary Logic Notifier "
recipients user.email
sent_on Time.now
body :edit_password_reset_url => edit_password_reset_url(user.perishable_token)
end