Class: PasswordsMailerPreview

Inherits:
ActionMailer::Preview
  • Object
show all
Defined in:
lib/rails/generators/rails/authentication/templates/test/mailers/previews/passwords_mailer_preview.rb

Overview

Instance Method Summary collapse

Instance Method Details

#resetObject



4
5
6
# File 'lib/rails/generators/rails/authentication/templates/test/mailers/previews/passwords_mailer_preview.rb', line 4

def reset
  PasswordsMailer.reset(User.take)
end