Skip to content

Commit

Permalink
fermeture campagne 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitLeveque committed Dec 17, 2023
1 parent 5556492 commit 03392b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
14 changes: 8 additions & 6 deletions config/routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@ afup_barometre_homepage:
methods: GET
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController
defaults:
path: /campaign/2023
path: /about
permanent: false

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

controllers:
resource:
path: ../src/Controller/
namespace: App\Controller
type: attribute
resource:
path: ../src/Controller/
namespace: App\Controller
type: attribute
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.result2022',
[
Expand Down

0 comments on commit 03392b7

Please sign in to comment.