Gestionnaire: move personnes_impliquees_dossier_path to personnes_impliquees_gestionnaire_dossier_path

This commit is contained in:
simon lehericey 2018-02-21 13:42:11 +01:00
parent 63163e5022
commit a416efc49a
2 changed files with 3 additions and 3 deletions

View file

@ -40,7 +40,7 @@ module NewGestionnaire
recipient = Gestionnaire.find(params[:recipient])
GestionnaireMailer.send_dossier(current_gestionnaire, dossier, recipient).deliver_later
flash.notice = "Dossier envoyé"
redirect_to(personnes_impliquees_dossier_path(procedure, dossier))
redirect_to(personnes_impliquees_gestionnaire_dossier_path(procedure, dossier))
end
def follow

View file

@ -35,8 +35,8 @@
- if notifications_summary[:messagerie]
%span.notifications{ 'aria-label': 'notifications' }
= link_to "Messagerie", messagerie_gestionnaire_dossier_path(dossier.procedure, dossier)
%li{ class: current_page?(personnes_impliquees_dossier_path(dossier.procedure, dossier)) ? 'active' : nil }
= link_to "Personnes impliquées", personnes_impliquees_dossier_path(dossier.procedure, dossier)
%li{ class: current_page?(personnes_impliquees_gestionnaire_dossier_path(dossier.procedure, dossier)) ? 'active' : nil }
= link_to "Personnes impliquées", personnes_impliquees_gestionnaire_dossier_path(dossier.procedure, dossier)
.container
.print-header