Sha256: 502834c01b4ffe85bd42ba043e3746cfed51d6f4648be3796bf2c4f7ee6ebe43

Contents?: true

Size: 370 Bytes

Versions: 6

Compression:

Stored size: 370 Bytes

Contents

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

  class Gallery
    include Enjoy::Gallery::Models::Gallery

    include Enjoy::Gallery::Decorators::Gallery

    rails_admin(&Enjoy::Gallery::Admin::Gallery.config(nil, rails_admin_add_fields) { |config|
      rails_admin_add_config(config)
    })
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enjoy_cms_gallery-0.4.1 app/models/enjoy/gallery/gallery.rb
enjoy_cms_gallery-0.4.0.2 app/models/enjoy/gallery/gallery.rb
enjoy_cms_gallery-0.4.0.1 app/models/enjoy/gallery/gallery.rb
enjoy_cms_gallery-0.4.0 app/models/enjoy/gallery/gallery.rb
enjoy_cms_gallery-0.4.0.beta3 app/models/enjoy/gallery/gallery.rb
enjoy_cms_gallery-0.4.0.beta1 app/models/enjoy/gallery/gallery.rb