Gestionnaire: move messagerie_avis_path to messagerie_gestionnaire_avis_path

This commit is contained in:
simon lehericey 2018-02-21 13:42:12 +01:00
parent c58b32a26d
commit 3b3849e4f3
3 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@ module NewGestionnaire
if @commentaire.save
flash.notice = "Message envoyé"
redirect_to messagerie_avis_path(avis)
redirect_to messagerie_gestionnaire_avis_path(avis)
else
flash.alert = @commentaire.errors.full_messages
render :messagerie