public function builds($projectId)
    {
        $branch = $this->getParam('branch', '');
        $builds = $this->getLatestBuildsHtml($projectId, urldecode($branch));

        $this->response->disableLayout();
        $this->response->setContent($builds[0]);
        return $this->response;
    }
public function builds($projectId)
    {
        $branch = $this->getParam('branch', '');
        $builds = $this->getLatestBuildsHtml($projectId, urldecode($branch));

        $this->response->disableLayout();
        $this->response->setContent($builds[0]);
        return $this->response;
    }
public function builds ( $ projectId ) { $ branch = $ this -> getParam ( 'branch' , '' ) ; $ builds = $ this -> getLatestBuildsHtml ( $ projectId , urldecode ( $ branch ) ) ; $ this -> response -> disableLayout ( ) ; $ this -> response -> setContent ( $ builds [ 0 ] ) ; return $ this -> response ; }
AJAX get latest builds.
AJAX get latest builds .