Sha256: 65bc0f76fad0c95ed19593215b03c4e7079b57b0d00f5bab772a76a48109ffdb
Contents?: true
Size: 555 Bytes
Versions: 1
Compression:
Stored size: 555 Bytes
Contents
if Hancock::Catalog.config.gallery_support module Hancock::Catalog _parent_class = Hancock::Gallery::Image if Hancock::Catalog.active_record? _parent_class = Hancock::Gallery::EmbeddedImage if Hancock::Catalog.mongoid? class CategoryImage < _parent_class include Hancock::Catalog::Models::CategoryImage include Hancock::Catalog::Decorators::CategoryImage rails_admin(&Hancock::Catalog::Admin::CategoryImage.config(nil, rails_admin_add_fields) { |config| rails_admin_add_config(config) }) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hancock_cms_catalog-1.0.2 | app/models/hancock/catalog/category_image.rb |