Sha256: c47a3f67fbaadc96b7adc0900138c9b1875b8791495a4ef1c9e43787357d71f5

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 Bytes

Contents

class Janus::Mailer < ActionMailer::Base
  default_from = Janus::Config.contact_email

  def reset_password_instructions(user)
    @user = user
    mail :to => @user.email, :subject => I18n.t('janus.mailer.reset_password_instructions.subject')
  end

  def confirmation_instructions(user)
    @user = user
    mail :to => @user.email, :subject => I18n.t('janus.mailer.confirmation_instructions.subject')
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
janus-0.8.0 lib/janus/mailer.rb
janus-0.7.0 lib/janus/mailer.rb
janus-0.6.0 lib/janus/mailer.rb
janus-0.5.0 lib/janus/mailer.rb