projects
/
zf2.biz
/
galerie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
55ce886
)
Update route configuration so that urls of the the form index/actionName actually...
author
Rob Allen
<rob@akrabat.com>
Sat, 19 May 2012 14:49:51 +0000
(15:49 +0100)
committer
Rob Allen
<rob@akrabat.com>
Sat, 19 May 2012 14:49:51 +0000
(15:49 +0100)
module/Application/config/module.config.php
patch
|
blob
|
history
diff --git
a/module/Application/config/module.config.php
b/module/Application/config/module.config.php
index
b68e949
..
8015ff5
100644
(file)
--- 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(
'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
),
'defaults' => array(
- 'controller' => 'IndexController',
+ 'controller' => 'index',
'action' => 'index',
),
),
'action' => 'index',
),
),
@@
-21,7
+21,7
@@
return array(
'options' => array(
'route' => '/',
'defaults' => array(
'options' => array(
'route' => '/',
'defaults' => array(
- 'controller' => 'IndexController',
+ 'controller' => 'index',
'action' => 'index',
),
),
'action' => 'index',
),
),
@@
-30,7
+30,7
@@
return array(
),
'controller' => array(
'classes' => array(
),
'controller' => array(
'classes' => array(
- 'IndexController' => 'Application\Controller\IndexController'
+ 'index' => 'Application\Controller\IndexController'
),
),
'view_manager' => array(
),
),
'view_manager' => array(