mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
doc/Controller: Do not use 'void' results
This commit is contained in:
parent
40b7098480
commit
823d338f73
@ -28,7 +28,7 @@ class DocController extends ModuleActionController
|
|||||||
$urlParams
|
$urlParams
|
||||||
);
|
);
|
||||||
$this->view->title = $chapterId;
|
$this->view->title = $chapterId;
|
||||||
return $this->render('chapter', null, true);
|
$this->render('chapter', null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -46,7 +46,7 @@ class DocController extends ModuleActionController
|
|||||||
$name = ucfirst($name);
|
$name = ucfirst($name);
|
||||||
$this->view->docName = $name;
|
$this->view->docName = $name;
|
||||||
$this->view->title = sprintf($this->translate('%s Documentation'), $name);
|
$this->view->title = sprintf($this->translate('%s Documentation'), $name);
|
||||||
return $this->render('toc', null, true);
|
$this->render('toc', null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -71,6 +71,6 @@ class DocController extends ModuleActionController
|
|||||||
);
|
);
|
||||||
$this->view->docName = $name;
|
$this->view->docName = $name;
|
||||||
$this->_request->setParam('format', 'pdf');
|
$this->_request->setParam('format', 'pdf');
|
||||||
return $this->render('pdf', null, true);
|
$this->render('pdf', null, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user