summaryrefslogtreecommitdiff
path: root/app/Controller/SubtaskStatusController.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-07-23 21:48:59 -0400
committerFrederic Guillot <fred@kanboard.net>2016-07-23 21:48:59 -0400
commit24555080fd3ca8607f0a798b5a0e4be98ff131f8 (patch)
tree8a92479149bbc079a7f6b1daa678d612534d80a2 /app/Controller/SubtaskStatusController.php
parentf216e345ba2ad7486037c393c0475a1371ca2b00 (diff)
Create new class SubtaskStatusModel
Diffstat (limited to 'app/Controller/SubtaskStatusController.php')
-rw-r--r--app/Controller/SubtaskStatusController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/SubtaskStatusController.php b/app/Controller/SubtaskStatusController.php
index 699951fe..d4d356c3 100644
--- a/app/Controller/SubtaskStatusController.php
+++ b/app/Controller/SubtaskStatusController.php
@@ -20,7 +20,7 @@ class SubtaskStatusController extends BaseController
$task = $this->getTask();
$subtask = $this->getSubtask();
- $status = $this->subtaskModel->toggleStatus($subtask['id']);
+ $status = $this->subtaskStatusModel->toggleStatus($subtask['id']);
if ($this->request->getIntegerParam('refresh-table') === 0) {
$subtask['status'] = $status;