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

@ -1,7 +1,7 @@
= render partial: 'new_administrateur/breadcrumbs',
locals: { steps: [link_to('Démarches', admin_procedures_path),
link_to(@procedure.libelle, admin_procedure_path(@procedure)),
link_to('Groupes dinstructeurs', procedure_groupe_instructeurs_path(@procedure)),
link_to('Groupes dinstructeurs', admin_procedure_groupe_instructeurs_path(@procedure)),
@groupe_instructeur.label] }
.container.groupe-instructeur
@ -20,7 +20,7 @@
%tr
%td= group.label
%td.actions= button_to 'Réaffecter les dossiers à ce groupe',
reaffecter_procedure_groupe_instructeur_path(:target_group => group),
reaffecter_admin_procedure_groupe_instructeur_path(:target_group => group),
{ class: 'button',
data: { confirm: "Êtes-vous sûr de vouloir réaffecter les dossiers du groupe « #{@groupe_instructeur.label} » vers le groupe  « #{group.label} » ?" } }