Sha256: 79be63d745eb45dbea33d2673d68ad3decbb2978c437dbde02bcd0f8fd224a93

Contents?: true

Size: 400 Bytes

Versions: 13

Compression:

Stored size: 400 Bytes

Contents

module RocketCMS
  module Models
    module Gallery
      extend ActiveSupport::Concern
      include RocketCMS::Model
      include Enableable
      include ManualSlug
      include SitemapData
      include RocketCMS.orm_specific('Gallery')

      included do
        has_many :gallery_images
        field :name, type: String, localize: RocketCMS.configuration.localize
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ack_rocket_cms-0.7.7.1 lib/rocket_cms/models/gallery.rb
ack_rocket_cms-0.7.7 lib/rocket_cms/models/gallery.rb
ack_rocket_cms-0.7.6.4 lib/rocket_cms/models/gallery.rb
ack_rocket_cms-0.7.6.3 lib/rocket_cms/models/gallery.rb
ack_rocket_cms-0.7.6.2 lib/rocket_cms/models/gallery.rb
ack_rocket_cms-0.7.6.1 lib/rocket_cms/models/gallery.rb
ack_rocket_cms-0.7.6 lib/rocket_cms/models/gallery.rb
ack_rocket_cms-0.7.5.2 lib/rocket_cms/models/gallery.rb
ack_rocket_cms-0.7.5.1 lib/rocket_cms/models/gallery.rb
ack_rocket_cms-0.7.5 lib/rocket_cms/models/gallery.rb
ack_rocket_cms-0.7.4.1 lib/rocket_cms/models/gallery.rb
ack_rocket_cms-0.7.4 lib/rocket_cms/models/gallery.rb
ack_rocket_cms-0.7.3 lib/rocket_cms/models/gallery.rb