Loading module/OffreFormation/config/module.config.php +71 −186 Original line number Diff line number Diff line Loading @@ -204,251 +204,136 @@ return [ ], ], 'discipline' => [ 'type' => 'Literal', 'options' => [ 'route' => '/discipline', 'defaults' => [ 'controller' => DisciplineController::class, 'action' => 'index', ], ], 'may_terminate' => true, 'child_routes' => [ 'voir' => [ 'type' => 'Segment', 'options' => [ 'route' => '/voir/:discipline', 'constraints' => [ 'discipline' => '[0-9]*', ], 'defaults' => [ 'action' => 'voir', ], ], 'may_terminate' => true, ], 'saisir' => [ 'type' => 'Segment', 'options' => [ 'route' => '/saisir[/:discipline]', 'constraints' => [ 'discipline' => '[0-9]*', ], 'defaults' => [ 'action' => 'saisir', ], ], 'may_terminate' => true, ], 'supprimer' => [ 'type' => 'Segment', 'options' => [ 'route' => '/supprimer/:discipline', 'constraints' => [ 'discipline' => '[0-9]*', ], 'defaults' => [ 'action' => 'supprimer', ], ], 'may_terminate' => true, ], ], ], 'type-intervention' => [ 'type' => 'Segment', 'options' => [ 'route' => '/type-intervention', 'defaults' => [ 'controller' => TypeInterventionController::class, 'action' => 'index', ], ], 'may_terminate' => true, 'child_routes' => [ 'saisie' => [ 'type' => 'Segment', 'options' => [ 'route' => '/saisie[/:typeIntervention]', 'constraints' => [ 'typeIntervention' => '[0-9]*', ], 'defaults' => [ 'action' => 'saisie', ], ], 'may_terminate' => true, ], 'statut' => [ 'type' => 'Segment', 'options' => [ 'route' => '/statut/:typeIntervention', 'constraints' => [ 'typeIntervention' => '[0-9]*', ], 'defaults' => [ 'action' => 'statut', ], ], 'may_terminate' => true, ], 'delete' => [ 'type' => 'Segment', 'options' => [ 'route' => '/delete/:typeIntervention', 'constraints' => [ 'typeIntervention' => '[0-9]*', ], 'defaults' => [ 'action' => 'delete', ], ], 'may_terminate' => true, ], 'type-intervention-trier' => [ 'type' => 'Segment', 'options' => [ 'route' => '/type-intervention-trier', 'contraints' => [ ], 'defaults' => [ 'action' => 'type-intervention-trier', ], ], 'may_terminate' => 'true', ], 'type-intervention-structure-saisie' => [ 'type' => 'Segment', 'options' => [ 'route' => '/type-intervention-structure-saisie/:typeIntervention[/:typeInterventionStructure]', 'constraints' => [ 'typeIntervention' => '[0-9]*', 'typeInterventionStructure' => '[0-9]*', ], 'defaults' => [ 'action' => 'type-intervention-structure-saisie', ], ], 'may_terminate' => true, ], 'type-intervention-structure-delete' => [ 'type' => 'Segment', 'options' => [ 'route' => '/type-intervention-structure-delete/:typeInterventionStructure', 'constraints' => [ 'typeInterventionStructure' => '[0-9]*', ], 'defaults' => [ 'action' => 'type-intervention-structure-delete', ], ], 'may_terminate' => true, ], 'statut-saisie' => [ 'type' => 'Segment', 'options' => [ 'route' => '/statut-saisie/:typeIntervention[/:typeInterventionStatut]', 'constraints' => [ 'typeIntervention' => '[0-9]*', 'typeInterventionStatut' => '[0-9]*', ], 'defaults' => [ 'action' => 'statut-saisie', ], ], 'may_terminate' => true, ], 'statut-delete' => [ 'type' => 'Segment', 'options' => [ 'route' => '/statut-delete/:typeIntervention/:typeInterventionStatut', 'constraints' => [ 'typeInterventionStatut' => '[0-9]*', ], 'defaults' => [ 'action' => 'statut-delete', ], ], 'may_terminate' => true, ], ], ], 'type-formation' => [ 'type' => 'Literal', 'options' => [ 'route' => '/type-formation', 'defaults' => [ 'controller' => TypeFormationController::class, 'action' => 'index', ], ], 'may_terminate' => true, 'child_routes' => [ 'saisie' => [ 'type' => 'Segment', 'options' => [ 'route' => '/saisie[/:typeFormation][/:groupeTypeFormation]', 'constraints' => [ 'typeFormation' => '[0-9]*', ], 'defaults' => [ 'action' => 'saisie', ], ], 'may_terminate' => true, ], 'supprimer' => [ 'type' => 'Segment', 'options' => [ 'route' => '/supprimer/:typeFormation', 'constraints' => [ 'typeFormation' => '[0-9]*', ], 'defaults' => [ 'action' => 'supprimer', ], ], 'may_terminate' => true, ], 'saisie-groupe' => [ 'type' => 'Segment', 'options' => [ 'route' => '/saisie-groupe[/:groupeTypeFormation]', 'constraints' => [ 'groupeTypeFormation' => '[0-9]*', ], 'defaults' => [ 'action' => 'saisieGroupe', ], ], 'may_terminate' => true, ], 'supprimer-groupe' => [ 'type' => 'Segment', 'options' => [ 'route' => '/supprimer-groupe/:groupeTypeFormation', 'constraints' => [ 'groupeTypeFormation' => '[0-9]*', ], 'defaults' => [ 'action' => 'supprimerGroupe', ], ], 'may_terminate' => true, ], 'trier' => [ 'type' => 'Segment', 'options' => [ 'route' => '/trier/', 'constraints' => [ ], 'defaults' => [ 'action' => 'trier', ], ], 'may_terminate' => true, ], ], ], ], Loading Loading
module/OffreFormation/config/module.config.php +71 −186 Original line number Diff line number Diff line Loading @@ -204,251 +204,136 @@ return [ ], ], 'discipline' => [ 'type' => 'Literal', 'options' => [ 'route' => '/discipline', 'defaults' => [ 'controller' => DisciplineController::class, 'action' => 'index', ], ], 'may_terminate' => true, 'child_routes' => [ 'voir' => [ 'type' => 'Segment', 'options' => [ 'route' => '/voir/:discipline', 'constraints' => [ 'discipline' => '[0-9]*', ], 'defaults' => [ 'action' => 'voir', ], ], 'may_terminate' => true, ], 'saisir' => [ 'type' => 'Segment', 'options' => [ 'route' => '/saisir[/:discipline]', 'constraints' => [ 'discipline' => '[0-9]*', ], 'defaults' => [ 'action' => 'saisir', ], ], 'may_terminate' => true, ], 'supprimer' => [ 'type' => 'Segment', 'options' => [ 'route' => '/supprimer/:discipline', 'constraints' => [ 'discipline' => '[0-9]*', ], 'defaults' => [ 'action' => 'supprimer', ], ], 'may_terminate' => true, ], ], ], 'type-intervention' => [ 'type' => 'Segment', 'options' => [ 'route' => '/type-intervention', 'defaults' => [ 'controller' => TypeInterventionController::class, 'action' => 'index', ], ], 'may_terminate' => true, 'child_routes' => [ 'saisie' => [ 'type' => 'Segment', 'options' => [ 'route' => '/saisie[/:typeIntervention]', 'constraints' => [ 'typeIntervention' => '[0-9]*', ], 'defaults' => [ 'action' => 'saisie', ], ], 'may_terminate' => true, ], 'statut' => [ 'type' => 'Segment', 'options' => [ 'route' => '/statut/:typeIntervention', 'constraints' => [ 'typeIntervention' => '[0-9]*', ], 'defaults' => [ 'action' => 'statut', ], ], 'may_terminate' => true, ], 'delete' => [ 'type' => 'Segment', 'options' => [ 'route' => '/delete/:typeIntervention', 'constraints' => [ 'typeIntervention' => '[0-9]*', ], 'defaults' => [ 'action' => 'delete', ], ], 'may_terminate' => true, ], 'type-intervention-trier' => [ 'type' => 'Segment', 'options' => [ 'route' => '/type-intervention-trier', 'contraints' => [ ], 'defaults' => [ 'action' => 'type-intervention-trier', ], ], 'may_terminate' => 'true', ], 'type-intervention-structure-saisie' => [ 'type' => 'Segment', 'options' => [ 'route' => '/type-intervention-structure-saisie/:typeIntervention[/:typeInterventionStructure]', 'constraints' => [ 'typeIntervention' => '[0-9]*', 'typeInterventionStructure' => '[0-9]*', ], 'defaults' => [ 'action' => 'type-intervention-structure-saisie', ], ], 'may_terminate' => true, ], 'type-intervention-structure-delete' => [ 'type' => 'Segment', 'options' => [ 'route' => '/type-intervention-structure-delete/:typeInterventionStructure', 'constraints' => [ 'typeInterventionStructure' => '[0-9]*', ], 'defaults' => [ 'action' => 'type-intervention-structure-delete', ], ], 'may_terminate' => true, ], 'statut-saisie' => [ 'type' => 'Segment', 'options' => [ 'route' => '/statut-saisie/:typeIntervention[/:typeInterventionStatut]', 'constraints' => [ 'typeIntervention' => '[0-9]*', 'typeInterventionStatut' => '[0-9]*', ], 'defaults' => [ 'action' => 'statut-saisie', ], ], 'may_terminate' => true, ], 'statut-delete' => [ 'type' => 'Segment', 'options' => [ 'route' => '/statut-delete/:typeIntervention/:typeInterventionStatut', 'constraints' => [ 'typeInterventionStatut' => '[0-9]*', ], 'defaults' => [ 'action' => 'statut-delete', ], ], 'may_terminate' => true, ], ], ], 'type-formation' => [ 'type' => 'Literal', 'options' => [ 'route' => '/type-formation', 'defaults' => [ 'controller' => TypeFormationController::class, 'action' => 'index', ], ], 'may_terminate' => true, 'child_routes' => [ 'saisie' => [ 'type' => 'Segment', 'options' => [ 'route' => '/saisie[/:typeFormation][/:groupeTypeFormation]', 'constraints' => [ 'typeFormation' => '[0-9]*', ], 'defaults' => [ 'action' => 'saisie', ], ], 'may_terminate' => true, ], 'supprimer' => [ 'type' => 'Segment', 'options' => [ 'route' => '/supprimer/:typeFormation', 'constraints' => [ 'typeFormation' => '[0-9]*', ], 'defaults' => [ 'action' => 'supprimer', ], ], 'may_terminate' => true, ], 'saisie-groupe' => [ 'type' => 'Segment', 'options' => [ 'route' => '/saisie-groupe[/:groupeTypeFormation]', 'constraints' => [ 'groupeTypeFormation' => '[0-9]*', ], 'defaults' => [ 'action' => 'saisieGroupe', ], ], 'may_terminate' => true, ], 'supprimer-groupe' => [ 'type' => 'Segment', 'options' => [ 'route' => '/supprimer-groupe/:groupeTypeFormation', 'constraints' => [ 'groupeTypeFormation' => '[0-9]*', ], 'defaults' => [ 'action' => 'supprimerGroupe', ], ], 'may_terminate' => true, ], 'trier' => [ 'type' => 'Segment', 'options' => [ 'route' => '/trier/', 'constraints' => [ ], 'defaults' => [ 'action' => 'trier', ], ], 'may_terminate' => true, ], ], ], ], Loading