Loading module/OffreFormation/config/module.config.php +1 −1 Original line number Diff line number Diff line Loading @@ -302,7 +302,7 @@ return [ 'may_terminate' => true, 'child_routes' => [ 'saisie' => [ 'route' => '/saisie[/:typeFormation][/:groupeTypeFormation]', 'route' => '/saisie/:typeFormation', 'constraints' => [ 'typeFormation' => '[0-9]*', ], Loading module/OffreFormation/src/Controller/TypeFormationController.php +0 −3 Original line number Diff line number Diff line Loading @@ -60,10 +60,7 @@ class TypeFormationController extends AbstractController if (empty($typeFormation)) { $title = "Création d'un nouveau type de formation"; /** @var TypeFormation $typeFormation */ $typeFormation = $this->getServiceTypeFormation()->newEntity(); $groupeTypeFormation = $this->getEvent()->getParam('groupeTypeFormation'); $typeFormation->setGroupe($groupeTypeFormation); } else { $title = "Édition d'un type de formation"; } Loading Loading
module/OffreFormation/config/module.config.php +1 −1 Original line number Diff line number Diff line Loading @@ -302,7 +302,7 @@ return [ 'may_terminate' => true, 'child_routes' => [ 'saisie' => [ 'route' => '/saisie[/:typeFormation][/:groupeTypeFormation]', 'route' => '/saisie/:typeFormation', 'constraints' => [ 'typeFormation' => '[0-9]*', ], Loading
module/OffreFormation/src/Controller/TypeFormationController.php +0 −3 Original line number Diff line number Diff line Loading @@ -60,10 +60,7 @@ class TypeFormationController extends AbstractController if (empty($typeFormation)) { $title = "Création d'un nouveau type de formation"; /** @var TypeFormation $typeFormation */ $typeFormation = $this->getServiceTypeFormation()->newEntity(); $groupeTypeFormation = $this->getEvent()->getParam('groupeTypeFormation'); $typeFormation->setGroupe($groupeTypeFormation); } else { $title = "Édition d'un type de formation"; } Loading