Sha256: 3bf3b5fc3e167fd9ae98c044092d7bfc409ca760d2c3bd368a929f48e8cb4cd2
Contents?: true
Size: 407 Bytes
Versions: 5
Compression:
Stored size: 407 Bytes
Contents
module Workarea decorate Search::ProductEntries, with: :browse_option do def index_entries_for(product) if product.browses_by_option? product.browse_options.map do |value| Search::Storefront::ProductOption.new( product, option: product.browse_option, value: value ) end else super end end end end
Version data entries
5 entries across 5 versions & 1 rubygems