views/instructeurs/procedures/_dossiers_actions: fix http verb

This commit is contained in:
benoitqueyron 2024-08-12 17:11:03 +02:00
parent 289da2d3bb
commit ae87fd72fd
No known key found for this signature in database
GPG key ID: AD3C38C9ACA84135

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