1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-26 15:52:20 +01:00
fab-manager/spec/mailers/previews/devise_mailer_preview.rb
2016-03-23 18:39:41 +01:00

10 lines
283 B
Ruby

class DeviseMailerPreview < ActionMailer::Preview
def confirmation_instructions
Devise::Mailer.confirmation_instructions(User.last, SecureRandom.hex)
end
def reset_password_instructions
Devise::Mailer.reset_password_instructions(User.last, SecureRandom.hex)
end
end