Class: Spotlight::Contact

Inherits:
ActiveRecord::Base
  • Object
show all
Extended by:
FriendlyId
Defined in:
app/models/spotlight/contact.rb

Overview

Exhibit curator contact information

Class Method Summary collapse

Class Method Details

.fieldsObject



35
36
37
38
39
40
# File 'app/models/spotlight/contact.rb', line 35

def self.fields
  @fields ||= { title: { itemprop: 'jobTitle' },
                location: { itemprop: 'workLocation' },
                email: { helper: :render_contact_email_address },
                telephone: {} }
end