From ae87fd72fd234c751ab80be15c77c89a791e8fa6 Mon Sep 17 00:00:00 2001 From: benoitqueyron <72251526+Benoit-MINT@users.noreply.github.com> Date: Mon, 12 Aug 2024 17:11:03 +0200 Subject: [PATCH] views/instructeurs/procedures/_dossiers_actions: fix http verb --- app/views/instructeurs/procedures/_dossier_actions.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/instructeurs/procedures/_dossier_actions.html.haml b/app/views/instructeurs/procedures/_dossier_actions.html.haml index e55c99d00..aeb6748ab 100644 --- a/app/views/instructeurs/procedures/_dossier_actions.html.haml +++ b/app/views/instructeurs/procedures/_dossier_actions.html.haml @@ -1,6 +1,6 @@ - if hidden_by_administration && hidden_by_expired %li - = button_to repousser_expiration_and_restore_instructeur_dossier_path(procedure_id, dossier_id), method: :patch, class: "fr-btn fr-icon-refresh-line" do + = button_to repousser_expiration_and_restore_instructeur_dossier_path(procedure_id, dossier_id), method: :post, class: "fr-btn fr-icon-refresh-line" do = t('views.instructeurs.dossiers.restore_and_extend') - elsif hidden_by_administration