Class: Cms::ForgotPasswordMailer

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

Instance Method Summary collapse

Instance Method Details

#reset_password(link, email) ⇒ Object



4
5
6
7
8
9
10
11
# File 'app/models/cms/forgot_password_mailer.rb', line 4

def reset_password(link, email)
  @subject = "Account Management"
  @body[:url] = link
  @recipients = email
  @from = '[email protected]'
  @sent_on = Time.now
  template "cms/forgot_password_mailer/reset_password"
end