doc/IcingawebController: Do not use 'void' results

This commit is contained in:
Eric Lippmann 2014-12-09 14:28:58 +01:00
parent 7605076dc5
commit e901e545c3
1 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ class Doc_IcingawebController extends DocController
*/
public function tocAction()
{
return $this->renderToc($this->getPath(), 'Icinga Web 2', 'doc/icingaweb/chapter');
$this->renderToc($this->getPath(), 'Icinga Web 2', 'doc/icingaweb/chapter');
}
/**
@ -54,7 +54,7 @@ class Doc_IcingawebController extends DocController
404
);
}
return $this->renderChapter(
$this->renderChapter(
$this->getPath(),
$chapterId,
'doc/icingaweb/toc',
@ -67,6 +67,6 @@ class Doc_IcingawebController extends DocController
*/
public function pdfAction()
{
return $this->renderPdf($this->getPath(), 'Icinga Web 2', 'doc/icingaweb/chapter');
$this->renderPdf($this->getPath(), 'Icinga Web 2', 'doc/icingaweb/chapter');
}
}