X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=module%2FGalerie%2Fconfig%2Fmodule.config.php;h=5f965699c641ff1c492e25da9b24f5ade84fb65e;hb=12557cded4e09175aab9f520c3a27f4a194fa6b8;hp=569165c9ade765f599688004642c25017255ef0c;hpb=709825fa5a4a684beb5f484ba19e976543493f48;p=zf2.biz%2Fgalerie.git diff --git a/module/Galerie/config/module.config.php b/module/Galerie/config/module.config.php index 569165c..5f96569 100644 --- a/module/Galerie/config/module.config.php +++ b/module/Galerie/config/module.config.php @@ -4,7 +4,13 @@ return array( 'controllers' => array( 'invokables' => array( 'Galerie\Controller\Index' => - 'Galerie\Controller\IndexController' + 'Galerie\Controller\IndexController', + ), + ), + 'controller_plugins' => array( + 'invokables' => array( + 'MessageGetter' => + 'Custom\Mvc\Controller\Plugin\MessageGetter', ), ), 'view_manager' => array( @@ -111,7 +117,18 @@ return array( ), ), 'verb' => 'get', - ),/* + ), + 'csv' => array( + 'type' => 'Literal', + 'options' => array( + 'route' => '/csv', + 'defaults' => array( + 'action' => 'csv', + ), + ), + 'verb' => 'get', + ), +/* 'default' => array( 'type' => 'Segment', 'options' => array(