summaryrefslogtreecommitdiff
path: root/app/Api/BoardApi.php
blob: aa5942af7d47ad8125ccb4d6ab00e12505e29167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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->boardModel->getBoard($project_id);
    }
}