Skip to content

Commit

Permalink
fermeture campagne 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitLeveque committed Jul 13, 2024
1 parent 24d80f4 commit bf3d8bb
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 bf3d8bb

Please sign in to comment.