diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-16 21:07:29 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-16 21:07:29 -0400 |
commit | b1e2ca00ce7375ffcbe5e927135c8892036e6bd6 (patch) | |
tree | 07ce453261f6493de7c901cfd8b4f0d9af85556d /app/Api/BoardApi.php | |
parent | 4514bc1d4b4abff23902e46da76e70f13a3647eb (diff) |
Rename Api classes
Diffstat (limited to 'app/Api/BoardApi.php')
-rw-r--r-- | app/Api/BoardApi.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/Api/BoardApi.php b/app/Api/BoardApi.php new file mode 100644 index 00000000..c7d93aa0 --- /dev/null +++ b/app/Api/BoardApi.php @@ -0,0 +1,18 @@ +<?php + +namespace Kanboard\Api; + +/** + * Board API controller + * + * @package Kanboard\Api + * @author Frederic Guillot + */ +class BoardApi extends BaseApi +{ + public function getBoard($project_id) + { + $this->checkProjectPermission($project_id); + return $this->board->getBoard($project_id); + } +} |