diff --git a/config/module.config.php b/config/module.config.php index 856caba4451209bd807d60b1081df24614d7099d..ab07a02bb68ef5c920ee0889309a4a4aa545ed0e 100644 --- a/config/module.config.php +++ b/config/module.config.php @@ -43,34 +43,7 @@ return [ ], ], - 'navigation' => [ - 'default' => [ - 'home' => [ - 'pages' => [ - 'administration' => [ - 'pages' => [ - 'validations' => [ - 'label' => 'Validations', - 'route' => 'validation/type', - 'resource' => PrivilegeController::getResourceId(ValidationTypeController::class, 'index'), - 'order' => 1111, - 'icon' => 'fas fa-angle-right', - 'pages' => [ - 'instance' => [ - 'label' => 'Instances de validation', - 'route' => 'validation/instance', - 'resource' => PrivilegeController::getResourceId(ValidationInstanceController::class, 'index'), - 'order' => 1112, - ], - ], - ], - ], - ], - ], - ], - ], - ], - + 'service_manager' => [ 'invokables' => [ ], diff --git a/config/unicaen-validation.global.php.dist b/config/unicaen-validation.global.php.dist new file mode 100644 index 0000000000000000000000000000000000000000..2a4c354ce4fd0f7a75e4b48bf5d7f263274635f9 --- /dev/null +++ b/config/unicaen-validation.global.php.dist @@ -0,0 +1,35 @@ +<?php + +use UnicaenPrivilege\Guard\PrivilegeController; +use UnicaenValidation\Controller\ValidationTypeController; + +return [ + 'navigation' => [ + 'default' => [ + 'home' => [ + 'pages' => [ + 'administration' => [ + 'pages' => [ + 'validations' => [ + 'label' => 'Validations', + 'route' => 'validation/type', + 'resource' => PrivilegeController::getResourceId(ValidationTypeController::class, 'index'), + 'order' => 1111, + 'icon' => 'fas fa-angle-right', + 'pages' => [ + 'instance' => [ + 'label' => 'Instances de validation', + 'route' => 'validation/instance', + 'resource' => PrivilegeController::getResourceId(ValidationInstanceController::class, 'index'), + 'order' => 1112, + ], + ], + ], + ], + ], + ], + ], + ], + ], +]; +?> \ No newline at end of file