Module: Revise::Mailers::Recoverable
- Defined in:
- lib/revise/mailers/recoverable.rb
Class Method Summary collapse
Class Method Details
.extended(klass) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/revise/mailers/recoverable.rb', line 4 def self.extended(klass) klass.mailer :recoverable do email :reset_password_instructions do |name, email, reset_password_token| from Revise.mailer_from to email subject t('revise.recoverable.reset_password_instructions.subject', :domain => ENV['DOMAIN']) locals :name => name, :email => email, :reset_password_token => reset_password_token render 'revise/reset_password_instructions' content_type :html end end end |