Module: Pollett::Concerns::Mailers::Mailer
- Extended by:
- ActiveSupport::Concern
- Included in:
- Mailer
- Defined in:
- lib/pollett/concerns/mailers/mailer.rb
Instance Method Summary collapse
Instance Method Details
#reset(user) ⇒ Object
16 17 18 19 20 |
# File 'lib/pollett/concerns/mailers/mailer.rb', line 16 def reset(user) @user = user @url = Pollett.reset_url(user.reset_token) mail(to: user.email) end |
#welcome(user) ⇒ Object
11 12 13 14 |
# File 'lib/pollett/concerns/mailers/mailer.rb', line 11 def welcome(user) @user = user mail(to: user.email) end |