The SM name for the controller cannot include the Controller postfix if you want...
authorRob Allen <rob@akrabat.com>
Mon, 2 Jul 2012 12:31:45 +0000 (13:31 +0100)
committerRob Allen <rob@akrabat.com>
Mon, 2 Jul 2012 12:31:45 +0000 (13:31 +0100)
module/Application/config/module.config.php

index 0a9e0b4..cdda3bd 100644 (file)
@@ -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(