Sha256: e72aa0d89a3b380db4f80aad5c95cff0567480cccf33081ebe877e4deca1bda0

Contents?: true

Size: 690 Bytes

Versions: 1

Compression:

Stored size: 690 Bytes

Contents

class ClearanceMailer < ActionMailer::Base

  def change_password(user)
    from       Clearance.configuration.mailer_sender
    recipients user.email || user.email2
    subject    I18n.t(:change_password,
                      :scope   => [:clearance, :models, :clearance_mailer],
                      :default => "Change your password")
    body       :user => user
  end

  def confirmation(user)
    from       Clearance.configuration.mailer_sender
    recipients user.email
    subject    I18n.t(:confirmation,
                      :scope   => [:clearance, :models, :clearance_mailer],
                      :default => "Account confirmation")
    body      :user => user
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fbdoorman-0.7.4 app/models/clearance_mailer.rb