Sha256: 0618082b56b25168db01cba52d6feaa007495fa75d6347a3a7bd2272878db4d0

Contents?: true

Size: 481 Bytes

Versions: 1

Compression:

Stored size: 481 Bytes

Contents

module Hancock::Catalog::Decorators
  module Items
    extend ActiveSupport::Concern

    # included do
    #
    #   def page_title
    #     if @item
    #       @item.page_title
    #     else
    #       super
    #     end
    #   end
    #
    #   def category_class
    #     Hancock::Catalog::Category
    #   end
    #   def item_class
    #     Hancock::Catalog::Item
    #   end
    #
    #   def insert_breadcrumbs
    #     true
    #   end
    #
    # end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hancock_cms_catalog-1.0.2 app/controllers/concerns/hancock/catalog/decorators/items.rb