Sha256: d3c5c2e1caee76908c7549a16560e72db8ca7ca3179cf8896cb31441bb635991
Contents?: true
Size: 420 Bytes
Versions: 13
Compression:
Stored size: 420 Bytes
Contents
class Admin::Mailer < ActionMailer::Base default :from => Typus.mailer_sender def reset_password_instructions(user, host) @user = user @token_url = admin_account_url(user.token, :host => host) options = { :to => user.email, :subject => "[#{Typus.admin_title}] #{Typus::I18n.t("Reset password")}", } mail(options) do |format| format.text format.html end end end
Version data entries
13 entries across 13 versions & 1 rubygems