src/Controller/DefaultController.php line 15

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 DefaultController extends AbstractController
  7. {
  8.     /**
  9.      * Affiche la page d'accueil
  10.      * @Route("/", name="index")
  11.      */
  12.     public function index(): Response
  13.     {
  14.         return $this->render('default/index.html.twig');
  15.     }
  16. }