Orbit/app/models/layout_part.rb

11 lines
137 B
Ruby

class LayoutPart
include Mongoid::Document
include Mongoid::Timestamps
field :name
field :content
belongs_to :layout
end