orbit-4-2/app/models/design/layout_part.rb

11 lines
122 B
Ruby

class LayoutPart
include Mongoid::Document
include Mongoid::Timestamps
field :name
embedded_in :layout
end