app/controllers/katalyst/navigation/items_controller.rb in katalyst-navigation-1.5.2 vs app/controllers/katalyst/navigation/items_controller.rb in katalyst-navigation-1.6.0
- old
+ new
@@ -6,11 +6,9 @@
before_action :set_menu, only: %i[new create]
before_action :set_item, except: %i[new create]
attr_reader :menu, :item, :editor
- layout nil
-
def new
@item = @menu.items.build(new_item_params)
@editor = Katalyst::Navigation::EditorComponent.new(menu:, item:)
render_editor