Rename all models

This commit is contained in:
Frederic Guillot
2016-05-28 19:48:22 -04:00
parent 936376ffe7
commit 14713b0ec7
411 changed files with 4145 additions and 4156 deletions

View File

@@ -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);
}
}