This commit is contained in:
Dan Cryer 2015-02-12 13:20:08 +00:00
parent 320b0efa71
commit dea615bf26

View file

@ -68,6 +68,7 @@ class HomeController extends \PHPCI\Controller
*/ */
public function latest() public function latest()
{ {
$this->response->disableLayout();
$this->response->setContent($this->getLatestBuildsHtml()); $this->response->setContent($this->getLatestBuildsHtml());
return $this->response; return $this->response;
} }
@ -77,6 +78,7 @@ class HomeController extends \PHPCI\Controller
*/ */
public function summary() public function summary()
{ {
$this->response->disableLayout();
$projects = $this->projectStore->getWhere(array(), 50, 0, array(), array('title' => 'ASC')); $projects = $this->projectStore->getWhere(array(), 50, 0, array(), array('title' => 'ASC'));
$this->response->setContent($this->getSummaryHtml($projects)); $this->response->setContent($this->getSummaryHtml($projects));
return $this->response; return $this->response;