Orbit/app/models/page_part.rb

12 lines
147 B
Ruby
Raw Normal View History

2011-05-18 02:00:00 +00:00
class PagePart
include Mongoid::Document
include Mongoid::Timestamps
field :name
field :content
field :kind
2011-05-18 02:00:00 +00:00
belongs_to :page
end