Sha256: 918867aeba94a6d7cc97ac79a2a36f9b01060331c60e4c24ef71a1dca1ffb6ea
Contents?: true
Size: 588 Bytes
Versions: 18
Compression:
Stored size: 588 Bytes
Contents
module Workarea module Storefront class InquiryViewModel < ApplicationViewModel include DisplayContent def title browser_title.presence || ::I18n.t('workarea.storefront.contacts.contact_us') end def subjects Workarea.config.inquiry_subjects.map do |key, default_value| [ I18n.t('workarea.inquiry.subjects')[key.optionize.to_sym].presence || default_value, key ] end end private def content_lookup 'contact_us' end end end end
Version data entries
18 entries across 18 versions & 1 rubygems