New attemp to fix orange badge hell
This commit is contained in:
parent
3f994a6fc8
commit
e83762c4e3
1 changed files with 2 additions and 0 deletions
|
@ -173,6 +173,8 @@ module Instructeurs
|
||||||
if @commentaire.save
|
if @commentaire.save
|
||||||
@commentaire.dossier.update!(last_commentaire_updated_at: Time.zone.now)
|
@commentaire.dossier.update!(last_commentaire_updated_at: Time.zone.now)
|
||||||
current_instructeur.follow(dossier)
|
current_instructeur.follow(dossier)
|
||||||
|
# FIXME
|
||||||
|
mark_messagerie_as_read
|
||||||
flash.notice = "Message envoyé"
|
flash.notice = "Message envoyé"
|
||||||
redirect_to messagerie_instructeur_dossier_path(procedure, dossier)
|
redirect_to messagerie_instructeur_dossier_path(procedure, dossier)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue