Sha256: e2ed0a04f16edbdf61c7cec9d1a34509e898e8caa9802d84ef6322b5a877eb38

Contents?: true

Size: 813 Bytes

Versions: 2

Compression:

Stored size: 813 Bytes

Contents

class BlueLightSpecialMailer < MadMimiMailer

  def mimi_change_password(user)
    from       BlueLightSpecial.configuration.mailer_sender
    recipients user.email
    subject    I18n.t(:change_password,
                      :scope   => [:blue_light_special, :models, :blue_light_special_mailer],
                      :default => "Change your password")
    body       :url => edit_user_password_url(user,
                       :token  => user.password_reset_token,
                       :escape => false)
  end
  
  def mimi_welcome(user)
    from       BlueLightSpecial.configuration.mailer_sender
    recipients user.email
    subject    I18n.t(:welcome,
                      :scope   => [:blue_light_special, :models, :blue_light_special_mailer],
                      :default => "Welcome")
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blue_light_special-0.2.1 app/models/blue_light_special_mailer.rb
blue_light_special-0.2.0 app/models/blue_light_special_mailer.rb