Merge pull request #10685 from demarches-simplifiees/bug-instructeur-dossier-repousser-expiration-et-restaurer

fix(dossiers supprimés instructeurs): wrong http verb
This commit is contained in:
Benoit Queyron 2024-08-13 16:14:04 +00:00 committed by GitHub
commit 385277d5a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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