Sha256: f28c26c03d4a2df905d6fa664ae4ce49df96b029c0d9789824531e85643bb32d
Contents?: true
Size: 705 Bytes
Versions: 11
Compression:
Stored size: 705 Bytes
Contents
class Structure include Mongoid::Document include Mongoid::Timestamps include Sunrise::Models::Structure include PageParts::Extension include MetaManager::Taggable include PublicActivity::Model # Columns field :title, :type => String field :slug, :type => String field :structure_type_id, :type => Integer, :default => 0 field :position_type_id, :type => Integer, :default => 0 field :is_visible, :type => Boolean, :default => true field :redirect_url, :type => String index({:structure_type_id => 1}) index({:position_type_id => 1}) index({:parent_id => 1}) tracked owner: ->(controller, model) { controller.try(:current_user) } # page_parts :content, :sidebar end
Version data entries
11 entries across 11 versions & 1 rubygems