Commit b64d8d58 authored by Florian Joriot's avatar Florian Joriot
Browse files

Correction de la route d'edition de typeFormation

parent 15206ccd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -302,7 +302,7 @@ return [
            'may_terminate' => true,
            'child_routes'  => [
                'saisie'           => [
                    'route'       => '/saisie[/:typeFormation][/:groupeTypeFormation]',
                    'route'       => '/saisie/:typeFormation',
                    'constraints' => [
                        'typeFormation' => '[0-9]*',
                    ],
+0 −3
Original line number Diff line number Diff line
@@ -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";
        }