Class: PandaCms::Page
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- PandaCms::Page
- Defined in:
- app/models/panda_cms/page.rb
Instance Method Summary collapse
-
#update_auto_menus ⇒ Object
Update any menus which include this page or its parent as a menu item.
Instance Method Details
#update_auto_menus ⇒ Object
Update any menus which include this page or its parent as a menu item
52 53 54 55 |
# File 'app/models/panda_cms/page.rb', line 52 def .find_each(&:generate_auto_menu_items) .find_each(&:generate_auto_menu_items) end |