Skip to content

Commit e6c4dc9

Browse files
committed
Merge remote-tracking branch 'origin/master' into preprod
2 parents 2a0e592 + 98698fd commit e6c4dc9

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

config/routes.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ afup_barometre_homepage:
33
methods: GET
44
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController
55
defaults:
6-
path: /campaign/2024
6+
path: /about
77
permanent: false
88

99
afup_barometre_form:
1010
path: /campaign/2024
1111
methods: GET
12-
defaults: { _controller: App\Controller\CampaignController::formAction }
12+
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController
13+
defaults:
14+
path: /about
1315

1416
controllers:
1517
resource:

src/Menu/MenuBuilder.php

-5
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ protected function getBaseMenu()
4040
$menu = $this->factory->createItem('menu');
4141
$menu->setChildrenAttribute('class', 'nav navbar-nav');
4242

43-
$menu->addChild('menu.survey', [
44-
'route' => 'afup_barometre_form',
45-
'routeAbsolute' => UrlGeneratorInterface::ABSOLUTE_URL,
46-
]);
47-
4843
$menu->addChild(
4944
'menu.result2023',
5045
[

0 commit comments

Comments
 (0)