Merge pull request #772 from sgmap/fix_avis_old_ui

Avis Old UI: fix a path that have moved
This commit is contained in:
LeSim 2017-09-29 10:45:33 +02:00 committed by GitHub
commit 77aee1dd35

View file

@ -14,4 +14,4 @@
- if user_signed_in? && current_user == dossier.user
= link_to 'Télécharger', dossier_attestation_path(dossier), target: '_blank', class: 'btn btn-primary'
- else
= link_to 'Télécharger', procedure_dossier_attestation_path(dossier.procedure, dossier), target: '_blank', class: 'btn btn-primary'
= link_to 'Télécharger', attestation_dossier_path(dossier.procedure, dossier), target: '_blank', class: 'btn btn-primary'