Both index and show have notification on there left pannels

This commit is contained in:
JC 2016-12-27 15:26:41 +01:00
parent 7ee555a120
commit fb737df463
10 changed files with 83 additions and 26 deletions

View file

@ -10,6 +10,10 @@ class DossierFacades
@dossier.decorate
end
def last_notifications
@dossier.notifications.order("updated_at DESC").limit(5)
end
def champs
@dossier.ordered_champs
end