Class: ContactForm
- Inherits:
-
MailForm::Base
- Object
- MailForm::Base
- ContactForm
- Defined in:
- app/models/contact_form.rb
Constant Summary collapse
- ISSUE_TYPES =
[ ["Depositing content", "Depositing content"], ["Making changes to my content", "Making changes to my content"], ["Browsing and searching", "Browsing and searching"], ["Reporting a problem", "Reporting a problem"], ["General inquiry or request", "General inquiry or request"] ]
Instance Method Summary collapse
-
#headers ⇒ Object
Declare the e-mail headers.
Instance Method Details
#headers ⇒ Object
Declare the e-mail headers. It accepts anything the mail method in ActionMailer accepts.
35 36 37 38 39 40 41 |
# File 'app/models/contact_form.rb', line 35 def headers { :subject => "Contact Form:#{subject}", :to => Sufia::Engine.config.contact_email, :from => Sufia::Engine.config.from_email } end |