summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-30 13:43:26 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-30 13:43:26 +0200
commitad410b963369ec6b55526401c3873e6076b18b5f (patch)
treebbf3bef14e0646c7db212274dc3e656771881659 /config
parent5ef13e5aa5ea565b07441616ab1eece565aa2f53 (diff)
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.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 862647df..9793c6a6 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -105,7 +105,7 @@ Cccms::Application.routes.draw do
105 resource :otp_enrollment, :only => [:show, :create, :update, :destroy] 105 resource :otp_enrollment, :only => [:show, :create, :update, :destroy]
106 resource :otp_challenge, :only => [:new, :create] 106 resource :otp_challenge, :only => [:new, :create]
107 107
108 resources :menu_items do 108 resources :menu_items, :except => :show do
109 member do 109 member do
110 post :sort 110 post :sort
111 end 111 end