- Removed the default route, as it is not recommended.
- See https://github.com/zendframework/ZendSkeletonModule/pull/3 for how
a module-specific default route can be created.
return array(
'router' => array(
'routes' => array(
- 'default' => array(
- 'type' => 'Zend\Mvc\Router\Http\Segment',
- 'options' => array(
- 'route' => '/[:controller[/:action]]',
- 'constraints' => array(
- 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
- 'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
- ),
- 'defaults' => array(
- 'controller' => 'index',
- 'action' => 'index',
- ),
- ),
- ),
'home' => array(
'type' => 'Zend\Mvc\Router\Http\Literal',
'options' => array(