Cleanup
This commit is contained in:
parent
320b0efa71
commit
dea615bf26
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue