Sha256: 5b797acb10b2e70af36bec5c3442e4b3c5a628d3de1a71686118908d4b0c80e3

Contents?: true

Size: 565 Bytes

Versions: 1

Compression:

Stored size: 565 Bytes

Contents

module Enjoy::Catalog
  module Models
    module ItemCategory
      extend ActiveSupport::Concern
      include Enjoy::Model
      include Enjoy::Enableable
      include Enjoy::Seoable
      include Enjoy::SitemapDataField
      include Enjoy::Connectable

      include Enjoy::Catalog.orm_specific('ItemCategory')

      include ManualSlug

      included do
        manual_slug :name

        enjoy_connectable_field :connected_pages, routes_namespace: :enjoy_cms_catalog
      end

      def item_class
        Enjoy::Catalog::Item
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enjoy_cms_catalog-0.3.4 lib/enjoy/catalog/models/item_category.rb