doc/Controller: Do not use 'void' results

This commit is contained in:
Eric Lippmann 2014-12-09 14:24:45 +01:00
parent 40b7098480
commit 823d338f73

View File

@ -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);
} }
} }