Gestionnaire: move follow_dossier_path to follow_gestionnaire_dossier_path

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

View file

@ -1,10 +1,10 @@
- if dossier.en_construction_ou_instruction?
- if dossier_is_followed
= link_to unfollow_dossier_path(procedure, dossier), method: :patch, class: 'button' do
= link_to unfollow_gestionnaire_dossier_path(procedure, dossier), method: :patch, class: 'button' do
%span.icon.unfollow>
Ne plus suivre
- else
= link_to follow_dossier_path(procedure, dossier), method: :patch, class: 'button' do
= link_to follow_gestionnaire_dossier_path(procedure, dossier), method: :patch, class: 'button' do
%span.icon.follow>
Suivre le dossier