From 58d4231f06fbcbc54573504af2c2a4561b9e89ed Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 8 Feb 2017 19:12:16 -0500 Subject: Improve columns table in project settings --- app/Controller/ProjectViewController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/Controller/ProjectViewController.php') 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'], ))); } -- cgit v1.2.3