Gestionnaire: move archive_dossier_path to archive_gestionnaire_dossier_path

This commit is contained in:
simon lehericey 2018-02-21 13:42:11 +01:00
parent b07516c41d
commit 129ebdd403

View file

@ -10,10 +10,10 @@
- elsif dossier.termine?
- if dossier.archived
= link_to unarchive_dossier_path(procedure, dossier), method: :patch, class: 'button' do
= link_to unarchive_gestionnaire_dossier_path(procedure, dossier), method: :patch, class: 'button' do
%span.icon.unarchive>
Désarchiver le dossier
- else
= link_to archive_dossier_path(procedure, dossier), method: :patch, class: 'button' do
= link_to archive_gestionnaire_dossier_path(procedure, dossier), method: :patch, class: 'button' do
%span.icon.archive>
Archiver le dossier