Sha256: c50261453df5ae1e55db8f3211b27dcea1de3faf34d7b0d91fd95c26782a0109
Contents?: true
Size: 693 Bytes
Versions: 12
Compression:
Stored size: 693 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 end
Version data entries
12 entries across 12 versions & 1 rubygems