From cfd6794909ae2e48aeba8ef0120e91ff440047a0 Mon Sep 17 00:00:00 2001 From: Rob Allen Date: Mon, 2 Jul 2012 13:31:45 +0100 Subject: [PATCH] The SM name for the controller cannot include the Controller postfix if you want to use the ModuleRouteListener as the url segment for :controller won't have the word Controller in it. --- 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 0a9e0b4..cdda3bd 100644 --- a/module/Application/config/module.config.php +++ b/module/Application/config/module.config.php @@ -7,7 +7,7 @@ return array( 'options' => array( 'route' => '/', 'defaults' => array( - 'controller' => 'Application\Controller\IndexController', + 'controller' => 'Application\Controller\Index', 'action' => 'index', ), ), @@ -22,7 +22,7 @@ return array( 'route' => '/application', 'defaults' => array( '__NAMESPACE__' => 'Application\Controller', - 'controller' => 'IndexController', + 'controller' => 'Index', 'action' => 'index', ), ), @@ -46,7 +46,7 @@ return array( ), 'controllers' => array( 'invokables' => array( - 'Application\Controller\IndexController' => 'Application\Controller\IndexController' + 'Application\Controller\Index' => 'Application\Controller\IndexController' ), ), 'view_manager' => array( -- 1.7.10.4