[Fix #1016] display notifications for champs publics

This commit is contained in:
Mathieu Magnin 2017-12-05 16:07:05 +01:00
parent dfbd52c7a0
commit c6be745067
12 changed files with 81 additions and 13 deletions

View file

@ -9,9 +9,9 @@ class Follow < ActiveRecord::Base
private
def set_default_date
self.demande_seen_at = DateTime.now
self.annotations_privees_seen_at = DateTime.now
self.avis_seen_at = DateTime.now
self.messagerie_seen_at = DateTime.now
self.demande_seen_at ||= DateTime.now
self.annotations_privees_seen_at ||= DateTime.now
self.avis_seen_at ||= DateTime.now
self.messagerie_seen_at ||= DateTime.now
end
end