Sha256: 2e65f3e3cf3b6c3d69e94a106273401dcd53d7ef94007d81c863eab28cb771bc

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

module Workarea
  module Search
    class SwatchesFacet < TermsFacet
      # This class exists so we have a specific facet type to allow rendering
      # a different partial in the storefront to give us the opportunity to show
      # the swatches

      def type
        :swatches
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-swatches-1.0.6 app/queries/workarea/search/swatches_facet.rb
workarea-swatches-1.0.5 app/queries/workarea/search/swatches_facet.rb