Commit 80c72614 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

correction routes anciennes

parent c28e536a
Loading
Loading
Loading
Loading
Loading
+4 −7
Changes for module/OffreFormation/config/module.config.php: 4 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -42,13 +42,10 @@ return [
            'action'        => 'index',
            'may_terminate' => true,
            'child_routes'  => [
                'default' => [
                    'action'      => 'index',
                    'route'       => '/:action[/:id]',
                    'constraints' => [
                        'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'     => '[0-9]*',
                    ],
                'export' => [
                    'route'         => '/export',
                    'controller'  => OffreFormationController::class,
                    'action'      => 'export',
                ],
                'element' => [
                    'route'         => '/element',
+1 −1
Changes for module/OffreFormation/view/offre-formation/offre-formation/index.phtml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -254,7 +254,7 @@ $canSyncElement = $this->isAllowed(Privileges::getResourceId(Privileges::ODF_ELE
                            'niveau'    => $niveau ? $niveau->getId() : null,
                            'etape'     => $etape ? $etape->getId() : null,
                        ];
                        $urlExportOf = $this->url('of/default', ['action' => 'export'], ['query' => $params]);
                        $urlExportOf = $this->url('of/export', [], ['query' => $params]);

                        ?>
                        <a class="btn btn-secondary btn-sm" href="<?= $urlExportOf ?>">