mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
doc/IcingawebController: Do not use 'void' results
This commit is contained in:
parent
7605076dc5
commit
e901e545c3
@ -37,7 +37,7 @@ class Doc_IcingawebController extends DocController
|
|||||||
*/
|
*/
|
||||||
public function tocAction()
|
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
|
404
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return $this->renderChapter(
|
$this->renderChapter(
|
||||||
$this->getPath(),
|
$this->getPath(),
|
||||||
$chapterId,
|
$chapterId,
|
||||||
'doc/icingaweb/toc',
|
'doc/icingaweb/toc',
|
||||||
@ -67,6 +67,6 @@ class Doc_IcingawebController extends DocController
|
|||||||
*/
|
*/
|
||||||
public function pdfAction()
|
public function pdfAction()
|
||||||
{
|
{
|
||||||
return $this->renderPdf($this->getPath(), 'Icinga Web 2', 'doc/icingaweb/chapter');
|
$this->renderPdf($this->getPath(), 'Icinga Web 2', 'doc/icingaweb/chapter');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user