From ad410b963369ec6b55526401c3873e6076b18b5f Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 30 Jul 2026 13:43:26 +0200 Subject: Retire the unroutable scaffold views Nine generator leftovers for actions that either do not exist or never render HTML. menu_items/show goes with its route and its action, since deleting the template alone would turn a dead page into a missing-template error; pages_controller has only #preview, so its four CRUD views were unreachable by any route; and nodes#update redirects on every path. --- app/controllers/menu_items_controller.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'app/controllers') diff --git a/app/controllers/menu_items_controller.rb b/app/controllers/menu_items_controller.rb index 8b4e636e..48018800 100644 --- a/app/controllers/menu_items_controller.rb +++ b/app/controllers/menu_items_controller.rb @@ -11,9 +11,6 @@ class MenuItemsController < ApplicationController @menu_items = MenuItem.order("position ASC").all end - def show - end - def new @menu_item = MenuItem.new end -- cgit v1.3