Sha256: 53ba2448700c0e8617e09baefeaf796a28024ca88945958b08106e883dae1157
Contents?: true
Size: 425 Bytes
Versions: 2
Compression:
Stored size: 425 Bytes
Contents
class ContactUs::ContactMailer < ContactUs.parent_mailer.constantize def contact_email(contact) @contact = contact mail :from => (ContactUs.mailer_from || @contact.email), :reply_to => @contact.email, :subject => (ContactUs.require_subject ? @contact.subject : t('contact_us.contact_mailer.contact_email.subject', :email => @contact.email)), :to => ContactUs.mailer_to end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
contact_us-1.2.0 | app/mailers/contact_us/contact_mailer.rb |
contact_us-1.1.0 | app/mailers/contact_us/contact_mailer.rb |