Sha256: 605c25994bf767cf507d84ea224278f3892a91a83dbd9e02aee33e1b105a1d47
Contents?: true
Size: 689 Bytes
Versions: 55
Compression:
Stored size: 689 Bytes
Contents
module EgovUtils class UserMailer < ApplicationMailer before_action { @host = params && params[:host] || Rails.application.config.action_mailer.default_url_options[:host] } def confirmation_email(user) @user = user mail(to: user.mail, subject: t(:app_name)) end def account_information(user, password) @user = user @password = password mail(to: user.mail, subject: t(:app_name)) end def password_reset(user, token) @user, @token = user, token mail(to: user.mail, subject: t(:app_name)) end def password_change_info(user) @user = user mail(to: user.mail, subject: t(:app_name)) end end end
Version data entries
55 entries across 55 versions & 1 rubygems