summaryrefslogtreecommitdiff
path: root/app/Controller/App.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-07 18:36:16 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-07 18:36:16 -0500
commitfa6d19928abcfa03861e264222dbe46ad2fdc15a (patch)
tree598861577bba3a0a65e0bd47eecfb29f11f167ae /app/Controller/App.php
parentf83fc5bee4b93f1209bce14d1d7eaa50fdc6870b (diff)
Rename subtask model
Diffstat (limited to 'app/Controller/App.php')
-rw-r--r--app/Controller/App.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controller/App.php b/app/Controller/App.php
index 11e3915c..c4ed0fb8 100644
--- a/app/Controller/App.php
+++ b/app/Controller/App.php
@@ -2,7 +2,7 @@
namespace Controller;
-use Model\SubTask as SubTaskModel;
+use Model\Subtask as SubTaskModel;
/**
* Application controller
@@ -55,7 +55,7 @@ class App extends Base
->setUrl('app', $action, array('pagination' => 'subtasks'))
->setMax(10)
->setOrder('tasks.id')
- ->setQuery($this->subTask->getUserQuery($user_id, $status))
+ ->setQuery($this->subtask->getUserQuery($user_id, $status))
->calculateOnlyIf($this->request->getStringParam('pagination') === 'subtasks');
$project_paginator = $this->paginator