Sha256: 60cf5ecd015fd235466ddf8e0fdfa156000bdd2eb413209f9a4fa97a6d5de5e2

Contents?: true

Size: 351 Bytes

Versions: 12

Compression:

Stored size: 351 Bytes

Contents

class Admin::Mailer < ActionMailer::Base

  default :from => Typus.mailer_sender

  def reset_password_instructions(user)
    @user = user

    options = { :to => user.email,
                :subject => "[#{Typus.admin_title}] #{Typus::I18n.t("Reset password")}" }

    mail(options) do |format|
      format.text
      format.html
    end
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
typus-3.1.10 app/mailers/admin/mailer.rb
typus-3.1.9 app/mailers/admin/mailer.rb
typus-3.1.8 app/mailers/admin/mailer.rb
typus-3.1.7 app/mailers/admin/mailer.rb
typus-3.1.6 app/mailers/admin/mailer.rb
typus-3.1.5 app/mailers/admin/mailer.rb
typus-3.1.4 app/mailers/admin/mailer.rb
typus-3.1.3 app/mailers/admin/mailer.rb
typus-3.1.2 app/mailers/admin/mailer.rb
typus-3.1.1 app/mailers/admin/mailer.rb
typus-3.1.0 app/mailers/admin/mailer.rb
typus-3.1.0.rc19 app/mailers/admin/mailer.rb