orbit-basic/app/models/design/menu.rb

11 lines
163 B
Ruby
Raw Permalink Normal View History

2011-09-01 01:12:41 +00:00
class Menu
include Mongoid::Document
include Mongoid::Timestamps
field :levels, :type => Integer
field :values, :type => Hash
embedded_in :layout
end