Sha256: 204034d605e933f266b28071a53c59497faee05100c2c911e6f50faa51b99038

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

module Hancock::Gallery
  if Hancock::Gallery.active_record?
    class Gallery < ActiveRecord::Base
    end
  end

  class Gallery
    include Hancock::Gallery::Models::Gallery

    include Hancock::Gallery::Decorators::Gallery

    rails_admin(&Hancock::Gallery::Admin::Gallery.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/gallery.rb
hancock_cms_gallery-1.0.0 app/models/hancock/gallery/gallery.rb