Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into preprod
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitLeveque committed Aug 24, 2024
2 parents 2a0e592 + 98698fd commit e6c4dc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 4 additions & 2 deletions config/routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ afup_barometre_homepage:
methods: GET
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController
defaults:
path: /campaign/2024
path: /about
permanent: false

afup_barometre_form:
path: /campaign/2024
methods: GET
defaults: { _controller: App\Controller\CampaignController::formAction }
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController
defaults:
path: /about

controllers:
resource:
Expand Down
5 changes: 0 additions & 5 deletions src/Menu/MenuBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ protected function getBaseMenu()
$menu = $this->factory->createItem('menu');
$menu->setChildrenAttribute('class', 'nav navbar-nav');

$menu->addChild('menu.survey', [
'route' => 'afup_barometre_form',
'routeAbsolute' => UrlGeneratorInterface::ABSOLUTE_URL,
]);

$menu->addChild(
'menu.result2023',
[
Expand Down

0 comments on commit e6c4dc9

Please sign in to comment.