Class: Contact
- Inherits:
-
MailForm::Base
- Object
- MailForm::Base
- Contact
- Defined in:
- app/models/contact.rb
Instance Method Summary collapse
Instance Method Details
#headers ⇒ Object
9 10 11 12 13 14 15 |
# File 'app/models/contact.rb', line 9 def headers { to: Setting.app_email, subject: "Contato via site #{Setting.app_title}", from: %("#{name}" <#{email}>) } end |