Sha256: 83b803b4a8402e2477f2ced12d8f629fab414fa9038ecc8c1627d8cbea34d281

Contents?: true

Size: 413 Bytes

Versions: 5

Compression:

Stored size: 413 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

5 entries across 5 versions & 1 rubygems

Version Path
janus-0.10.1 lib/janus/mailer.rb
janus-0.10.0 lib/janus/mailer.rb
janus-0.9.1 lib/janus/mailer.rb
janus-0.9.0 lib/janus/mailer.rb
janus-0.8.1 lib/janus/mailer.rb