nriault/module/CV/config/module.config.php
bglacial 5659eb6309 Maj de bootstrap en V4 finale
Création d'un module à part pour gérer les applications
 - Ajout de VautMeUp
 - Préparation de l'appli karting
Ajout d'un bloc "Projets personnels"
2018-06-27 00:46:00 +02:00

54 lines
1.7 KiB
PHP

<?php
namespace CV;
use Zend\ServiceManager\Factory\InvokableFactory;
return [
'controllers' => [
'factories' => [
Controller\IndexController::class => InvokableFactory::class,
],
],
'router' => [
'routes' => [
'CV' => [
'type' => 'Literal',
'options' => [
// Change this to something specific to your module
'route' => '/cv',
'defaults' => [
'controller' => Controller\IndexController::class,
'action' => 'index',
],
],
'may_terminate' => true,
'child_routes' => [
// You can place additional routes that match under the
// route defined above here.
],
],
'Vault' => [
'type' => 'Literal',
'options' => [
// Change this to something specific to your module
'route' => '/vault',
'defaults' => [
'controller' => Controller\IndexController::class,
'action' => 'vault',
],
],
'may_terminate' => true,
'child_routes' => [
// You can place additional routes that match under the
// route defined above here.
],
],
],
],
'view_manager' => [
'template_path_stack' => [
'CV' => __DIR__ . '/../view',
],
],
];