Orbit/app/models/page_part.rb

12 lines
147 B
Ruby

class PagePart
include Mongoid::Document
include Mongoid::Timestamps
field :name
field :content
field :kind
belongs_to :page
end