Class: Katalyst::Navigation::Editor::Menu
- Defined in:
- app/helpers/katalyst/navigation/editor/menu.rb
Constant Summary collapse
- ACTIONS =
<<~ACTIONS.gsub(/\s+/, " ").freeze submit->#{MENU_CONTROLLER}#reindex navigation:reindex->#{MENU_CONTROLLER}#reindex navigation:reset->#{MENU_CONTROLLER}#reset ACTIONS
Constants inherited from Base
Base::ATTRIBUTES_SCOPE, Base::ITEM_CONTROLLER, Base::LIST_CONTROLLER, Base::MENU_CONTROLLER, Base::NEW_ITEM_CONTROLLER, Base::STATUS_BAR_CONTROLLER, Base::TURBO_FRAME
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Katalyst::Navigation::Editor::Base
Instance Method Details
#build(options) ⇒ Object
13 14 15 16 17 18 |
# File 'app/helpers/katalyst/navigation/editor/menu.rb', line 13 def build() form_with(model: , **(id: , **)) do |form| concat hidden_input concat(capture { yield form }) end end |