Class: TypusMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/models/typus_mailer.rb

Instance Method Summary collapse

Instance Method Details



5
6
7
8
9
10
11
12
# File 'app/models/typus_mailer.rb', line 5

def reset_password_link(user)
  @subject    = "[#{Typus::Configuration.options[:app_name]}] #{_("Reset password")}"
  @body       = { :user => user }
  @recipients = user.email
  @from       = Typus::Configuration.options[:email]
  @sent_on    = Time.now
  @headers    = {}
end