Sha256: 24b623c453f96828654b4651f28c7c891b6365f8721c4feeaf29e1b052ef577d
Contents?: true
Size: 534 Bytes
Versions: 13
Compression:
Stored size: 534 Bytes
Contents
module Alchemy class Notifications < ActionMailer::Base default :from => Alchemy::Config.get(:mailer)['mail_from'] def registered_user_created(user) @user = user @url = login_url mail( :to => user.email, :subject => Alchemy::I18n.t("alchemy.mailer.new_user_mail.subject") ) end def admin_user_created(user) @user = user @url = admin_url mail( :to => user.email, :subject => Alchemy::I18n.t("Your Alchemy Login") ) end end end
Version data entries
13 entries across 13 versions & 1 rubygems