Gestionnaire: move archive_dossier_path to archive_gestionnaire_dossier_path
This commit is contained in:
parent
b07516c41d
commit
129ebdd403
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue