Ver Mensaje Individual
  #5 (permalink)  
Antiguo 27/09/2012, 15:53
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 17 años, 11 meses
Puntos: 2135
Respuesta: zf2 + modulo por default

No eso no es lo correcto, si te fijas en TuApp\Module\Application\config\module.config.php, tienes esto:
Código PHP:
Ver original
  1. return array(
  2.     'router' => array(
  3.         'routes' => array(
  4.             'home' => array(
  5.                 'type' => 'Zend\Mvc\Router\Http\Literal',
  6.                 'options' => array(
  7.                     'route'    => '/',
  8.                     'defaults' => array(
  9.                         'controller' => 'Application\Controller\Index',
  10.                         'action'     => 'index',
  11.                     ),
  12.                 ),
  13.             ),

Basta con que pongas en tu application.config.php, una ruta home a tu otro controller.

Saludos.