src/Controller/OurSolutionsController.php line 15

  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. class OurSolutionsController extends AbstractController
  7. {
  8.     #[Route(path: [
  9.         'fr' => '/{_locale<%app.supported_locales%>}/nos-solutions/',
  10.         'en' => '/{_locale<%app.supported_locales%>}/our-solutions/'
  11.     ], name'app_solutions'options: ['sitemap' => true])]
  12.     public function index(): Response
  13.     {
  14.         return $this->render('our_solutions/index.html.twig', [
  15.             'active_menu' => 'solutions'
  16.         ]);
  17.     }
  18. }