Merge pull request #6068 from tchak/fix-notifications
Fix notifications
This commit is contained in:
commit
894f92ceb3
1 changed files with 3 additions and 3 deletions
|
@ -172,9 +172,9 @@ module Instructeurs
|
|||
|
||||
if @commentaire.save
|
||||
@commentaire.dossier.update!(last_commentaire_updated_at: Time.zone.now)
|
||||
if !current_instructeur.follow?(dossier)
|
||||
current_instructeur.follow(dossier)
|
||||
end
|
||||
current_instructeur.follow(dossier)
|
||||
# FIXME
|
||||
mark_messagerie_as_read
|
||||
flash.notice = "Message envoyé"
|
||||
redirect_to messagerie_instructeur_dossier_path(procedure, dossier)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue