Class: Menu

Inherits:
Object
  • Object
show all
Includes:
Ants::Id, Ants::Slug, Mongoid::Document, Mongoid::Timestamps
Defined in:
app/models/menu.rb

Instance Method Summary collapse

Methods included from Ants::Id

#serializable_hash

Instance Method Details

Relations


14
# File 'app/models/menu.rb', line 14

embeds_many :links, class_name: 'MenuLink'

#nameObject

Slug


8
# File 'app/models/menu.rb', line 8

field :name