Sha256: 8272e7f586f6c2f067ac0c6ec95ee913a12d8804cdb80d6e103861c9be41f4a5
Contents?: true
Size: 461 Bytes
Versions: 20
Compression:
Stored size: 461 Bytes
Contents
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 => I18n.t("alchemy.mailer.new_user_mail.subject") ) end def admin_user_created(user) @user = user @url = admin_url mail( :to => user.email, :subject => _("Your Alchemy Login") ) end end
Version data entries
20 entries across 20 versions & 1 rubygems