Sha256: 0b6ffecbb36b3d009adc8065638e3f16e6b1b57e434889576acbf6a63b8c9027
Contents?: true
Size: 551 Bytes
Versions: 22
Compression:
Stored size: 551 Bytes
Contents
class Notifier < ActionMailer::Base def registration(account) recipients account.email from AppConfig.email_from subject "[#{AppConfig.project}] #{I18n.t('backend.emails.registration.object')}" body :account => account, :url => "http://#{AppConfig.host_addr}/backend" end def support_request(account, message) from account.email recipients AppConfig.email_help subject "[#{AppConfig.project}] #{I18n.t('backend.emails.support.object')}" body :message => message end end
Version data entries
22 entries across 22 versions & 1 rubygems