Sha256: 44f7889e0a54c521187bc1f0c4940abe1f100ce5246726806eabb4386542d2db

Contents?: true

Size: 277 Bytes

Versions: 1

Compression:

Stored size: 277 Bytes

Contents

module Workarea
  decorate Categorization, with: :browse_option do
    private

    def manual_models
      return [] if @product.blank?
      @manual_models ||= FeaturedCategorization.new(
        @product.id, *BrowseOptionIds.all_for(@product)
      ).to_a
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-browse_option-2.2.0 app/queries/workarea/categorization.decorator