From: Rob Allen Date: Sat, 19 May 2012 14:49:51 +0000 (+0100) Subject: Update route configuration so that urls of the the form index/actionName actually... X-Git-Url: http://git.inspyration.org/?p=zf2.biz%2Fgalerie.git;a=commitdiff_plain;h=a0219327cf0d91dfe4de41d5ffca01e9023e189c Update route configuration so that urls of the the form index/actionName actually work. --- 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(