Update route configuration so that urls of the the form index/actionName actually...
authorRob Allen <rob@akrabat.com>
Sat, 19 May 2012 14:49:51 +0000 (15:49 +0100)
committerRob Allen <rob@akrabat.com>
Sat, 19 May 2012 14:49:51 +0000 (15:49 +0100)
module/Application/config/module.config.php

index b68e949..8015ff5 100644 (file)
@@ -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(