doc: Support `doc/module/:moduleName/toc' URLs

refs #4820
This commit is contained in:
Eric Lippmann 2014-05-28 17:19:48 +02:00
parent dc1bada56f
commit 49e927c4bf
1 changed files with 10 additions and 0 deletions

View File

@ -25,6 +25,16 @@ $docIcingaWebChapter = new Zend_Controller_Router_Route(
)
);
$docModuleToc = new Zend_Controller_Router_Route(
'doc/module/:moduleName/toc',
array(
'controller' => 'module',
'action' => 'toc',
'module' => 'doc'
)
);
$this->addRoute('doc/module/chapter', $docModuleChapter);
$this->addRoute('doc/icingaweb/chapter', $docIcingaWebChapter);
$this->addRoute('doc/module/toc', $docModuleToc);