Both index and show have notification on there left pannels
This commit is contained in:
parent
7ee555a120
commit
fb737df463
10 changed files with 83 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue