refactor messagerie_instructeur_avis_url
This commit is contained in:
parent
83fba55b29
commit
b0cfb2c02a
3 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ module Instructeurs
|
|||
|
||||
if @commentaire.save
|
||||
flash.notice = "Message envoyé"
|
||||
redirect_to messagerie_instructeur_avis_path(avis)
|
||||
redirect_to messagerie_instructeur_avis_path(avis.procedure, avis)
|
||||
else
|
||||
flash.alert = @commentaire.errors.full_messages
|
||||
render :messagerie
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue