Make rubocop happy

I did make some changes some lines above this 🤷.
This commit is contained in:
Nicolas Bouilleaud 2019-06-07 17:09:19 +02:00 committed by Pierre de La Morinerie
parent 1ac6cad132
commit 5acb7a3f1b

View file

@ -104,9 +104,9 @@ class Gestionnaire < ApplicationRecord
avis_notif = follow.dossier.avis.updated_since?(follow.avis_seen_at).any? avis_notif = follow.dossier.avis.updated_since?(follow.avis_seen_at).any?
messagerie = dossier.commentaires messagerie = dossier.commentaires
.where.not(email: OLD_CONTACT_EMAIL) .where.not(email: OLD_CONTACT_EMAIL)
.where.not(email: CONTACT_EMAIL) .where.not(email: CONTACT_EMAIL)
.updated_since?(follow.messagerie_seen_at).any? .updated_since?(follow.messagerie_seen_at).any?
annotations_hash(demande, annotations_privees, avis_notif, messagerie) annotations_hash(demande, annotations_privees, avis_notif, messagerie)
else else