Sha256: c4f5ef5a3dcba9a9397f89d282cced231f2a03f3c01ca2e2a6cf69a4e83f6f4a

Contents?: true

Size: 421 Bytes

Versions: 44

Compression:

Stored size: 421 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 { |k, v| [v, k] }
      end

      private

      def content_lookup
        'contact_us'
      end
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
workarea-storefront-3.4.28 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.5.5 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.4.27 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.5.4 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.4.26 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.5.3 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.4.25 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.5.2 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.4.24 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.5.1 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.4.23 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.4.22 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.5.0 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.4.21 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.5.0.beta.1 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.4.20 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.4.19 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.4.18 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.4.17 app/view_models/workarea/storefront/inquiry_view_model.rb
workarea-storefront-3.4.16 app/view_models/workarea/storefront/inquiry_view_model.rb