Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fermeture campagne 2024 #411

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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