Orbit/app/models/design/menu.rb

11 lines
163 B
Ruby

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