From 0f4d2ad80c6a3b89f06232837a11bae6324b63f0 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 28 May 2014 13:33:07 +0200 Subject: [PATCH] Doc: Support `doc/module/:moduleName/chapter/:chapterName' URLs refs #4820 --- modules/doc/run.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 modules/doc/run.php diff --git a/modules/doc/run.php b/modules/doc/run.php new file mode 100644 index 000000000..4db96cbc3 --- /dev/null +++ b/modules/doc/run.php @@ -0,0 +1,19 @@ +isCli()) { + return; +} + +$docModuleChapter = new Zend_Controller_Router_Route( + 'doc/module/:moduleName/chapter/:chapterName', + array( + 'controller' => 'module', + 'action' => 'chapter', + 'module' => 'doc' + ) +); + +$this->addRoute('doc/module/chapter', $docModuleChapter);