Sha256: b1c3735601c45e9e4e950ec45c000ebf3fc56b55c94cd232700a278e068588d1
Contents?: true
Size: 1.06 KB
Versions: 15
Compression:
Stored size: 1.06 KB
Contents
class GenericMailer < ActionMailer::Base def change_password(user) from Headstart.configuration.mailer_sender recipients user.email subject I18n.t(:change_password, :scope => [:headstart, :models, :headstart_mailer], :default => "Change your password") body :url => edit_user_password_url(user, :token => user.password_reset_token, :escape => false) end def welcome(user) from Headstart.configuration.mailer_sender recipients user.email subject I18n.t(:welcome, :scope => [:headstart, :models, :headstart_mailer], :default => "Welcome") body :user => user end def confirmation(user) from Headstart.configuration.mailer_sender recipients user.email subject I18n.t(:confirmation, :scope => [:headstart, :models, :headstart_mailer], :default => "Account confirmation") body :user => user end end
Version data entries
15 entries across 15 versions & 1 rubygems