Sha256: f2452f0bbe38b164ec904841a12ae4bb826e9bb350c11654e6473682ee4f7a3d
Contents?: true
Size: 254 Bytes
Versions: 3
Compression:
Stored size: 254 Bytes
Contents
module Workarea decorate Catalog::Product, with: :quickview do def quickview? template.in?(quickview_templates) end private def quickview_templates Workarea.config.product_quickview_templates.map(&:to_s) end end end
Version data entries
3 entries across 3 versions & 1 rubygems