summaryrefslogtreecommitdiff
path: root/app/Controller/ProjectOverview.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-16 21:12:43 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-16 21:12:43 -0500
commit8936792f6f7a408dae7e0a6a41274202822acd9c (patch)
treea07a005ef7095472f7a64779df85825fe30a97b2 /app/Controller/ProjectOverview.php
parent5bbc903dcab12dcf53abc40bf67c2cd7898e0420 (diff)
Add file attachements to projects
Diffstat (limited to 'app/Controller/ProjectOverview.php')
-rw-r--r--app/Controller/ProjectOverview.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controller/ProjectOverview.php b/app/Controller/ProjectOverview.php
index cbd65777..b0687ed3 100644
--- a/app/Controller/ProjectOverview.php
+++ b/app/Controller/ProjectOverview.php
@@ -19,6 +19,8 @@ class ProjectOverview extends Base
$params['users'] = $this->projectUserRole->getAllUsersGroupedByRole($params['project']['id']);
$params['roles'] = $this->role->getProjectRoles();
$params['events'] = $this->projectActivity->getProject($params['project']['id'], 10);
+ $params['images'] = $this->projectFile->getAllImages($params['project']['id']);
+ $params['files'] = $this->projectFile->getAllDocuments($params['project']['id']);
$this->project->getColumnStats($params['project']);