Sha256: 5a7145c0e7f561d00b5f508d2f82f2a0b1f514476618927256981944bb510365
Contents?: true
Size: 365 Bytes
Versions: 2
Compression:
Stored size: 365 Bytes
Contents
module Hancock::Gallery if Hancock::Gallery.active_record? class Image < ActiveRecord::Base end end class Image include Hancock::Gallery::Models::Image include Hancock::Gallery::Decorators::Image rails_admin(&Hancock::Gallery::Admin::Image.config(rails_admin_add_fields) { |config| rails_admin_add_config(config) }) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hancock_cms_gallery-1.0.2 | app/models/hancock/gallery/image.rb |
hancock_cms_gallery-1.0.0 | app/models/hancock/gallery/image.rb |