From a0219327cf0d91dfe4de41d5ffca01e9023e189c Mon Sep 17 00:00:00 2001 From: Rob Allen Date: Sat, 19 May 2012 15:49:51 +0100 Subject: [PATCH] Update route configuration so that urls of the the form index/actionName actually work. --- module/Application/config/module.config.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/Application/config/module.config.php b/module/Application/config/module.config.php index b68e949..8015ff5 100644 --- a/module/Application/config/module.config.php +++ b/module/Application/config/module.config.php @@ -11,7 +11,7 @@ return array( 'action' => '[a-zA-Z][a-zA-Z0-9_-]*', ), 'defaults' => array( - 'controller' => 'IndexController', + 'controller' => 'index', 'action' => 'index', ), ), @@ -21,7 +21,7 @@ return array( 'options' => array( 'route' => '/', 'defaults' => array( - 'controller' => 'IndexController', + 'controller' => 'index', 'action' => 'index', ), ), @@ -30,7 +30,7 @@ return array( ), 'controller' => array( 'classes' => array( - 'IndexController' => 'Application\Controller\IndexController' + 'index' => 'Application\Controller\IndexController' ), ), 'view_manager' => array( -- 1.7.10.4