From f37184721490312596f447c45d650cc6d8bd5d27 Mon Sep 17 00:00:00 2001 From: poka Date: Thu, 21 Nov 2019 13:43:48 +0100 Subject: [PATCH] Fix regions link in home page by removing / in src/Gmarche/GmarcheModule.php line 24 --- src/Gmarche/GmarcheModule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gmarche/GmarcheModule.php b/src/Gmarche/GmarcheModule.php index ad076b9..3adde69 100644 --- a/src/Gmarche/GmarcheModule.php +++ b/src/Gmarche/GmarcheModule.php @@ -20,7 +20,7 @@ class GmarcheModule extends Module $gmarchePrefix = $container->get('gmarche.prefix'); $container->get(RendererInterface::class)->addPath('gmarche', __DIR__ . '/views'); $router = $container->get(Router::class); - $router->get( "$gmarchePrefix", RegionIndexAction::class, 'gmarche.index'); - $router->get("$gmarchePrefix/{slug:[a-z\-0-9]+}", AntenneShowAction::class, 'gmarche.antenne'); + $router->get("$gmarchePrefix", RegionIndexAction::class, 'gmarche.index'); + $router->get("$gmarchePrefix{slug:[a-z\-0-9]+}", AntenneShowAction::class, 'gmarche.antenne'); } }