Class: Spotlight::ContactMailer

Inherits:
ActionMailer::Base
  • 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



4
5
6
7
# File 'app/mailers/spotlight/contact_mailer.rb', line 4

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