Class: Spotlight::ContactForm
- Inherits:
-
MailForm::Base
- Object
- MailForm::Base
- Spotlight::ContactForm
- Defined in:
- app/models/spotlight/contact_form.rb
Overview
Exhibit feedback form
Instance Method Summary collapse
Instance Method Details
#headers ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'app/models/spotlight/contact_form.rb', line 15 def headers { subject: "#{I18n.t(:'blacklight.application_name')} Contact Form", to: current_exhibit.contact_emails.first, from: %("#{name}" <#{email}>), cc: current_exhibit.contact_emails.join(', ') } end |