Gestionnaire: move messagerie_avis_path to messagerie_gestionnaire_avis_path
This commit is contained in:
parent
c58b32a26d
commit
3b3849e4f3
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue