src/Controller/ActusController.php line 17

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. /**
  7.  * @Route("/actualite")
  8.  */
  9. class ActusController extends AbstractController
  10. {
  11.     /**
  12.      * @Route("/", name="actus")
  13.      */
  14.     public function index(): Response
  15.     {
  16.         return $this->render('actus/index.html.twig', [
  17.         ]);
  18.     }
  19. }