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

11 lines
163 B
Ruby
Raw Normal View History

class Menu
include Mongoid::Document
include Mongoid::Timestamps
field :levels, :type => Integer
field :values, :type => Hash
embedded_in :layout
end