orbit-basic/app/models/layout_part.rb

15 lines
199 B
Ruby
Raw Normal View History

2011-05-18 02:00:00 +00:00
class LayoutPart
include Mongoid::Document
include Mongoid::Timestamps
2011-08-10 09:28:10 +00:00
field :name_tag
field :id_tag
field :editable_tag
field :class_tag
2011-05-18 02:00:00 +00:00
field :content
belongs_to :layout
2011-08-10 09:28:10 +00:00
end