add translations for reset password instructions email
This commit is contained in:
committed by
Pete Matsyburka
parent
cb2f58c04c
commit
7a7d3c6ee3
@@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class DeviseMailerPreview < ActionMailer::Preview
|
||||
def reset_password_instructions
|
||||
user = User.first
|
||||
user.send_reset_password_instructions
|
||||
Devise::Mailer.reset_password_instructions(user, user.reset_password_token)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user