src/Controller/MaintenanceController.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 MaintenanceController extends AbstractController
  7. {
  8.     #[Routepath: [
  9.         'fr' => '/{_locale<%app.supported_locales%>}/maintenance/',
  10.         'en' => '/{_locale<%app.supported_locales%>}/maintenance/'
  11.     ], name'app_maintenance'options: ['sitemap' => true])]
  12.     public function index(): Response
  13.     {
  14.         return $this->render('maintenance/index.html.twig', [
  15.             'active_menu' => 'maintenance'
  16.         ]);
  17.     }
  18. }