Sha256: fb9bf4716068fb763a2e0d48727e0c2e7f0f4975ce17880dc57b03a21373979f

Contents?: true

Size: 344 Bytes

Versions: 4

Compression:

Stored size: 344 Bytes

Contents

class UserNotifier < ActionMailer::Base
  def reset_password(user, password)
    content_type "text/html; charset=utf-8"

    recipients "#{user.firstname} #{user.lastname} <#{user.email}>"
    from       "contact@forgeos.com"
    subject    "#{I18n.t('admin.reset_password_mail')}"
    body       :user => user, :password => password
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
forgeos_core-1.9.4 app/models/user_notifier.rb
forgeos_core-1.9.3 app/models/user_notifier.rb
forgeos_core-1.9.2 app/models/user_notifier.rb
forgeos_core-1.9.1 app/models/user_notifier.rb