src/Controller/AppController.php line 14

Open in your IDE?
  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 AppController extends AbstractController
  7. {
  8.     /**
  9.      * @Route("/{reactRouting}", name="app_home", requirements={"reactRouting"="^(?!api|admin|elfinder|efconnect|_profiler|_wdt|_error).+"}, defaults={"reactRouting": null})
  10.      */
  11.     public function index(): Response
  12.     {
  13.         return $this->render('app/index.html.twig', [
  14.             'controller_name' => 'AppController',
  15.         ]);
  16.     }
  17. }