Class Notifier
In: app/models/notifier.rb
Parent: ActionMailer::Base

Password reset instructions email

Methods

Public Instance methods

[Source]

    # File app/models/notifier.rb, line 3
 3:   def password_reset_instructions(people)
 4:     Notifier.default_url_options[:host] = RacingAssociation.current.rails_host
 5:     
 6:     subject       "Password Reset Instructions"
 7:     from          "#{RacingAssociation.current.short_name} <#{RacingAssociation.current.email}>"
 8:     recipients    people.first.email_with_name
 9:     sent_on       Time.zone.now
10:     body          :edit_password_reset_urls => people.map { |person| edit_password_reset_url(person.perishable_token) }, :people => people
11:   end

[Validate]