From 9edab7c8512cd1b39fe6c123f8ceb5b3c2e1b9ff Mon Sep 17 00:00:00 2001 From: clemkeirua Date: Wed, 7 Oct 2020 10:55:43 +0200 Subject: [PATCH] add missing procedure_id --- app/views/new_administrateur/procedures/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/new_administrateur/procedures/show.html.haml b/app/views/new_administrateur/procedures/show.html.haml index 6167b9bfe..21ae54a9d 100644 --- a/app/views/new_administrateur/procedures/show.html.haml +++ b/app/views/new_administrateur/procedures/show.html.haml @@ -77,7 +77,7 @@ Choix du service administratif .card-admin-action - if @procedure.service.present? - = link_to 'Modifier', edit_admin_service_path(@procedure.service), class: 'button' + = link_to 'Modifier', edit_admin_service_path(@procedure.service, procedure_id: @procedure.id), class: 'button' - elsif current_administrateur.services.present? = link_to 'Choisir', admin_services_path(procedure_id: @procedure.id), class: 'button' - else