fixed up mailer preview bug
This commit is contained in:
parent
8d36acd28e
commit
2c0020a280
@ -3,6 +3,7 @@
|
||||
class UserMailerPreview < ActionMailer::Preview
|
||||
def password_reset
|
||||
user = User.find_by(email: 'alan.admin@mailinator.com')
|
||||
user.send(:gen_reset_token)
|
||||
UserMailer.password_reset user
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user