This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2011-05-18 02:00:00 +00:00
|
|
|
class PagePart
|
|
|
|
|
|
|
|
include Mongoid::Document
|
|
|
|
include Mongoid::Timestamps
|
|
|
|
|
|
|
|
field :name
|
2012-07-25 21:07:32 +00:00
|
|
|
field :content, localize: true
|
2011-05-25 08:27:17 +00:00
|
|
|
field :kind
|
2012-02-16 04:16:27 +00:00
|
|
|
field :public_r_tag
|
2012-04-23 18:30:40 +00:00
|
|
|
field :public_r_tag_object_id, :default => nil
|
2012-05-08 20:15:45 +00:00
|
|
|
field :public_r_tag_option, :default => nil
|
2012-07-25 21:07:32 +00:00
|
|
|
field :page_title, localize: true
|
2012-02-16 04:16:27 +00:00
|
|
|
field :widget_path
|
2011-05-18 02:00:00 +00:00
|
|
|
|
|
|
|
belongs_to :page
|
2012-02-16 04:16:27 +00:00
|
|
|
belongs_to :module_app
|
2011-05-18 02:00:00 +00:00
|
|
|
|
|
|
|
end
|