summaryrefslogtreecommitdiff
path: root/app/Api/ActionApi.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-28 19:48:22 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-28 19:48:22 -0400
commit14713b0ec7ed93ca45578da069ad4e19a7d8addf (patch)
tree79972d53f6091a1ddb17f64a6a05a5523f5d5168 /app/Api/ActionApi.php
parent936376ffe74c583d3cb819e98f53a85137fdf8bc (diff)
Rename all models
Diffstat (limited to 'app/Api/ActionApi.php')
-rw-r--r--app/Api/ActionApi.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Api/ActionApi.php b/app/Api/ActionApi.php
index 0647f9e8..116742d8 100644
--- a/app/Api/ActionApi.php
+++ b/app/Api/ActionApi.php
@@ -29,12 +29,12 @@ class ActionApi extends Base
public function removeAction($action_id)
{
- return $this->action->remove($action_id);
+ return $this->actionModel->remove($action_id);
}
public function getActions($project_id)
{
- return $this->action->getAllByProject($project_id);
+ return $this->actionModel->getAllByProject($project_id);
}
public function createAction($project_id, $event_name, $action_name, array $params)
@@ -82,6 +82,6 @@ class ActionApi extends Base
}
}
- return $this->action->create($values);
+ return $this->actionModel->create($values);
}
}