summaryrefslogtreecommitdiff
path: root/app/Controller/AnalyticController.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-09-03 21:20:54 -0400
committerFrederic Guillot <fred@kanboard.net>2016-09-03 21:20:54 -0400
commitdaa076eea7185a3b67dbfed7b34e42f3049026df (patch)
tree88ee41cdffc98bcae415dcd2e88787f249a787db /app/Controller/AnalyticController.php
parentef8ddb59c94e24383531e52371b70b595dff8e24 (diff)
Convert time comparison chart to Vue.js component
Diffstat (limited to 'app/Controller/AnalyticController.php')
-rw-r--r--app/Controller/AnalyticController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Controller/AnalyticController.php b/app/Controller/AnalyticController.php
index e12de0c7..38169fd7 100644
--- a/app/Controller/AnalyticController.php
+++ b/app/Controller/AnalyticController.php
@@ -40,12 +40,12 @@ class AnalyticController extends BaseController
*
* @access public
*/
- public function compareHours()
+ public function timeComparison()
{
$project = $this->getProject();
$paginator = $this->paginator
- ->setUrl('AnalyticController', 'compareHours', array('project_id' => $project['id']))
+ ->setUrl('AnalyticController', 'timeComparison', array('project_id' => $project['id']))
->setMax(30)
->setOrder(TaskModel::TABLE.'.id')
->setQuery($this->taskQuery
@@ -54,7 +54,7 @@ class AnalyticController extends BaseController
)
->calculate();
- $this->response->html($this->helper->layout->analytic('analytic/compare_hours', array(
+ $this->response->html($this->helper->layout->analytic('analytic/time_comparison', array(
'project' => $project,
'paginator' => $paginator,
'metrics' => $this->estimatedTimeComparisonAnalytic->build($project['id']),