summaryrefslogtreecommitdiff
path: root/app/Controller/ProjectViewController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/ProjectViewController.php')
-rw-r--r--app/Controller/ProjectViewController.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Controller/ProjectViewController.php b/app/Controller/ProjectViewController.php
index 92b93804..8ccf36ab 100644
--- a/app/Controller/ProjectViewController.php
+++ b/app/Controller/ProjectViewController.php
@@ -18,11 +18,12 @@ class ProjectViewController extends BaseController
public function show()
{
$project = $this->getProject();
+ $columns = $this->columnModel->getAllWithTasksCount($project['id']);
$this->response->html($this->helper->layout->project('project_view/show', array(
'project' => $project,
- 'stats' => $this->projectModel->getTaskStats($project['id']),
- 'title' => $project['name'],
+ 'columns' => $columns,
+ 'title' => $project['name'],
)));
}