diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-30 13:43:26 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-30 13:43:26 +0200 |
| commit | ad410b963369ec6b55526401c3873e6076b18b5f (patch) | |
| tree | bbf3bef14e0646c7db212274dc3e656771881659 /config/routes.rb | |
| parent | 5ef13e5aa5ea565b07441616ab1eece565aa2f53 (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/routes.rb')
| -rw-r--r-- | config/routes.rb | 2 |
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 |
