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"
This commit is contained in:
53
module/CV/config/module.config.php
Normal file
53
module/CV/config/module.config.php
Normal file
@ -0,0 +1,53 @@
|
||||
<?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',
|
||||
],
|
||||
],
|
||||
];
|
Reference in New Issue
Block a user