Skip to content
Snippets Groups Projects
Commit a89d6b5f authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Config modularisation agrement

parent 863e09ab
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,6 @@ use Agrement\Service\TblAgrementServiceFactory; ...@@ -15,7 +15,6 @@ use Agrement\Service\TblAgrementServiceFactory;
use Agrement\Service\TypeAgrementService; use Agrement\Service\TypeAgrementService;
use Agrement\Service\TypeAgrementServiceFactory; use Agrement\Service\TypeAgrementServiceFactory;
use Agrement\View\Helper\AgrementVewHelperFactory; use Agrement\View\Helper\AgrementVewHelperFactory;
use Agrement\View\Helper\AgrementViewHelper;
use Application\Provider\Privilege\Privileges; use Application\Provider\Privilege\Privileges;
use UnicaenAuth\Assertion\AssertionFactory; use UnicaenAuth\Assertion\AssertionFactory;
use UnicaenAuth\Guard\PrivilegeController; use UnicaenAuth\Guard\PrivilegeController;
...@@ -82,20 +81,24 @@ return [ ...@@ -82,20 +81,24 @@ return [
'child_routes' => [ 'child_routes' => [
'agrement' => [ 'agrement' => [
'route' => '/agrement', 'route' => '/agrement',
'controller' => 'Application\Controller\Agrement', 'controller' => AgrementController::class,
'action' => 'index', 'action' => 'index',
'may_terminate' => true, 'may_terminate' => true,
'child_routes' => [ 'child_routes' => [
'conseil-academique' => [ 'conseil-academique' => [
'route' => '/conseil-academique', 'route' => '/conseil-academique',
'action' => 'saisir-lot', 'action' => 'saisir-lot',
'defaults' => [
'typeAgrementCode' => TypeAgrement::CODE_CONSEIL_ACADEMIQUE, 'typeAgrementCode' => TypeAgrement::CODE_CONSEIL_ACADEMIQUE,
], ],
],
'conseil-restreint' => [ 'conseil-restreint' => [
'route' => '/conseil-restreint', 'route' => '/conseil-restreint',
'action' => 'saisir-lot', 'action' => 'saisir-lot',
'defaults' => [
'typeAgrementCode' => TypeAgrement::CODE_CONSEIL_RESTREINT, 'typeAgrementCode' => TypeAgrement::CODE_CONSEIL_RESTREINT,
], ],
],
'export-csv' => [ 'export-csv' => [
'route' => '/export-csv', 'route' => '/export-csv',
'action' => 'export-csv', 'action' => 'export-csv',
...@@ -135,6 +138,7 @@ return [ ...@@ -135,6 +138,7 @@ return [
], ],
], ],
], ],
'gestion' => [ 'gestion' => [
'pages' => [ 'pages' => [
'agrement' => [ 'agrement' => [
...@@ -174,6 +178,7 @@ return [ ...@@ -174,6 +178,7 @@ return [
], ],
], ],
], ],
], ],
'guards' => [ 'guards' => [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment