doc: Register PDF route

refs #4820
This commit is contained in:
Eric Lippmann 2014-07-28 19:15:44 +02:00
parent ce4fa1fd3d
commit 9eb4b62cd0
1 changed files with 10 additions and 0 deletions

View File

@ -34,7 +34,17 @@ $docModuleToc = new Zend_Controller_Router_Route(
)
);
$docModulePdf = new Zend_Controller_Router_Route(
'doc/module/:moduleName/pdf',
array(
'controller' => 'module',
'action' => 'pdf',
'module' => 'doc'
)
);
$this->addRoute('doc/module/chapter', $docModuleChapter);
$this->addRoute('doc/icingaweb/chapter', $docIcingaWebChapter);
$this->addRoute('doc/module/toc', $docModuleToc);
$this->addRoute('doc/module/pdf', $docModulePdf);