Class: Contact

Inherits:
MailForm::Base
  • Object
show all
Defined in:
app/models/contact.rb

Instance Method Summary collapse

Instance Method Details

#headersObject



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