Sha256: 36b6272cf882475400c6c2f2eac1b10668b156bf65460e082465c79d04094164
Contents?: true
Size: 473 Bytes
Versions: 3
Compression:
Stored size: 473 Bytes
Contents
module Locomotive class Notifications < ActionMailer::Base default :from => Locomotive.config.mailer_sender def new_content_entry(account, entry) @account, @entry, @type, @domain = account, entry, entry.content_type, entry.site.domains.first subject = t('locomotive.notifications.new_content_entry.subject', :domain => @domain, :type => @type.name, :locale => account.locale) mail :subject => subject, :to => account.email end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
tribeca_cms-0.1.1 | app/mailers/locomotive/notifications.rb |
tribeca_cms-2.0.0.rc12 | app/mailers/locomotive/notifications.rb |
locomotive_cms-2.0.0.rc12 | app/mailers/locomotive/notifications.rb |