Try to fix orange badge hell
This commit is contained in:
parent
8c5c360c4d
commit
1fd92565f3
1 changed files with 3 additions and 1 deletions
|
@ -172,7 +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
|
||||
flash.notice = "Message envoyé"
|
||||
redirect_to messagerie_instructeur_dossier_path(procedure, dossier)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue