Changed the routes to pass all new design admin pages under

'new_administrateur' scope, except 'services'.
As a result, the url of these pages will all include '/admin'.
This commit is contained in:
Judith 2020-07-07 12:03:32 +02:00 committed by jpoulvel (Rebase PR Action)
parent 9a89b3d2f0
commit 782706537d
30 changed files with 79 additions and 79 deletions

View file

@ -22,7 +22,7 @@ class Admin::InstructeursController < AdminController
end
if procedure_id.present?
redirect_to procedure_groupe_instructeur_path(procedure, procedure.defaut_groupe_instructeur)
redirect_to admin_procedure_groupe_instructeur_path(procedure, procedure.defaut_groupe_instructeur)
else
redirect_to admin_instructeurs_path
end