Sha256: 55173da912edd24648d9a16e91a59989d1042eca5a6d689211f6f9f43f312901

Contents?: true

Size: 268 Bytes

Versions: 10

Compression:

Stored size: 268 Bytes

Contents

class Admin::Mailer < ActionMailer::Base

  default :from => Typus.mailer_sender

  def reset_password_link(user, url)
    @user, @url = user, url

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

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
typus-3.1.0.rc18 app/mailers/admin/mailer.rb
typus-3.1.0.rc17 app/mailers/admin/mailer.rb
typus-3.1.0.rc16 app/mailers/admin/mailer.rb
typus-3.1.0.rc15 app/mailers/admin/mailer.rb
typus-3.1.0.rc14 app/mailers/admin/mailer.rb
typus-3.1.0.rc13 app/mailers/admin/mailer.rb
typus-3.1.0.rc12 app/mailers/admin/mailer.rb
typus-3.1.0.rc11 app/mailers/admin/mailer.rb
typus-3.1.0.rc10 app/mailers/admin/mailer.rb
typus-3.1.0.rc9 app/mailers/admin/mailer.rb