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

Ve como lo hacen aquí:
https://github.com/akrabat/zf2-tutor...oad/global.php

Solo tienes que pasarle los defaults que quieras hacer override, en este caso solo sería:
Código PHP:
Ver original
  1. 'router' => array(
  2.         'routes' => array(
  3.             'home' => array(
  4.                 'options' => array(
  5.                     'defaults' => array(
  6.                         'controller' => 'Application\Controller\Index',
  7.                         'action'     => 'index',
  8.                     ),
  9.                 ),
  10.             ),