Sha256: 4dac8650a5757d6d380c7b32db894f543bac1ce611b42c001d35c2cafe2b5ee4
Contents?: true
Size: 305 Bytes
Versions: 1
Compression:
Stored size: 305 Bytes
Contents
module Workarea decorate Storefront::ProductViewModel::CacheKey, with: :browse_option do private def option_parts option = @product.browse_option return super unless option.present? && @options['option'].present? super.unshift(@options['option'].optionize) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
workarea-browse_option-2.1.8 | app/view_models/workarea/storefront/product_view_model/cache_key.decorator |