Class: Workarea::Storefront::InquiryViewModel
- Inherits:
-
ApplicationViewModel
- Object
- ApplicationViewModel
- Workarea::Storefront::InquiryViewModel
show all
- Includes:
- DisplayContent
- Defined in:
- app/view_models/workarea/storefront/inquiry_view_model.rb
Instance Method Summary
collapse
#browser_title, #content, #content_blocks, #content_blocks_for, #meta_description, #open_graph_asset
Instance Method Details
#subjects ⇒ Object
11
12
13
|
# File 'app/view_models/workarea/storefront/inquiry_view_model.rb', line 11
def subjects
Workarea.config.inquiry_subjects.map { |k, v| [v, k] }
end
|
#title ⇒ Object
6
7
8
9
|
# File 'app/view_models/workarea/storefront/inquiry_view_model.rb', line 6
def title
browser_title.presence ||
::I18n.t('workarea.storefront.contacts.contact_us')
end
|