Orbit/app/models/page_part.rb

18 lines
362 B
Ruby

class PagePart
include Mongoid::Document
include Mongoid::Timestamps
field :name
field :content, localize: true
field :kind
field :public_r_tag
field :public_r_tag_object_id, :default => nil
field :public_r_tag_option, :default => nil
field :page_title, localize: true
field :widget_path
belongs_to :page
belongs_to :module_app
end