From b11c0c36f9c82bb7967ab896eb4eb68624d8ce22 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 28 May 2014 13:34:39 +0200 Subject: [PATCH] Doc: Support `doc/icingaweb/chapter/:chapterName' URLs refs #4820 --- modules/doc/run.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/doc/run.php b/modules/doc/run.php index 4db96cbc3..9d93ee865 100644 --- a/modules/doc/run.php +++ b/modules/doc/run.php @@ -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); +