Doc: Support `doc/icingaweb/chapter/:chapterName' URLs

refs #4820
This commit is contained in:
Eric Lippmann 2014-05-28 13:34:39 +02:00
parent 0f4d2ad80c
commit b11c0c36f9
1 changed files with 11 additions and 0 deletions

View File

@ -16,4 +16,15 @@ $docModuleChapter = new Zend_Controller_Router_Route(
)
);
$docIcingaWebChapter = new Zend_Controller_Router_Route(
'doc/icingaweb/chapter/:chapterName',
array(
'controller' => 'icingaweb',
'action' => 'chapter',
'module' => 'doc'
)
);
$this->addRoute('doc/module/chapter', $docModuleChapter);
$this->addRoute('doc/icingaweb/chapter', $docIcingaWebChapter);