Class: Spotlight::ContactMailer

Inherits:
ApplicationMailer
  • Object
show all
Defined in:
app/mailers/spotlight/contact_mailer.rb

Overview

Mailer for reporting problems to the application contact and/or exhibit administrator

Instance Method Summary collapse

Instance Method Details

#report_problem(contact_form) ⇒ Object



6
7
8
9
# File 'app/mailers/spotlight/contact_mailer.rb', line 6

def report_problem(contact_form)
  @contact_form = contact_form
  mail(@contact_form.headers)
end