Sha256: ba06ef97d569580cb77621d8939254955499586171bd87c37dc31de1209e4cf5
Contents?: true
Size: 676 Bytes
Versions: 3
Compression:
Stored size: 676 Bytes
Contents
module Alchemy class Notifications < ActionMailer::Base default(from: Config.get(:mailer)['mail_from']) def member_created(user) @user = user @url = login_url mail( to: user.email, subject: I18n.t("Your user credentials") ) end def alchemy_user_created(user) @user = user @url = admin_url mail( to: user.email, subject: I18n.t("Your Alchemy Login") ) end def reset_password_instructions(user, token, opts={}) @user = user @token = token mail( to: user.email, subject: I18n.t("Reset password instructions") ) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
alchemy-devise-3.2.0 | app/mailers/alchemy/notifications.rb |
alchemy-devise-2.1.0 | app/mailers/alchemy/notifications.rb |
alchemy-devise-2.1.0.beta3 | app/mailers/alchemy/notifications.rb |