[fix #2185] Messagerie: best commit ever

This commit is contained in:
simon lehericey 2018-07-02 16:11:20 +02:00
parent 5e4b92e50c
commit 73a14c7f09

View file

@ -20,7 +20,7 @@
= render partial: 'dossiers/commentaires/form', locals: { dossier_facade: @facade }
.last-commentaire.clearfix.hidden-print
- if last_comment = dossier_facade.commentaires.first
- if last_comment = dossier_facade.commentaires.last
%div
DERNIER MESSAGE
= render partial: 'dossiers/commentaires/commentaire', object: last_comment