From 9024b14e8845fdf7d418c0877c9b0a2deaaf04ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com>
Date: Thu, 27 Jan 2022 10:24:23 +0100
Subject: [PATCH] wip routes

---
 config/routes/admin/education.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/routes/admin/education.rb b/config/routes/admin/education.rb
index 6dc84694f..3fc4f2f3a 100644
--- a/config/routes/admin/education.rb
+++ b/config/routes/admin/education.rb
@@ -14,7 +14,7 @@ namespace :education do
     resources :administrators, controller: 'school/administrators', except: [:index, :show]
   end
   resources :programs do
-    resources :roles, controller: 'program/roles', except: :index do
+    resources :roles, controller: 'program/roles' do
       resources :people, controller: 'program/role/people', except: [:index, :show] do
         collection do
           post :reorder
@@ -25,7 +25,7 @@ namespace :education do
         post :reorder
       end
     end
-    resources :teachers, controller: 'program/teachers', except: [:index, :show] do
+    resources :teachers, controller: 'program/teachers', except: :show do
       collection do
         post :reorder
       end
-- 
GitLab