src/Controller/MentionsController.php line 16

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("/mentions-legales")
  8. */
  9. class MentionsController extends AbstractController
  10. {
  11. /**
  12. * @Route("/", name="mentions_index")
  13. */
  14. public function index(): Response
  15. {
  16. return $this->render('mentions/index.html.twig');
  17. }
  18. /**
  19. * @Route("/plan", name="mentions_plan")
  20. */
  21. public function plan(): Response
  22. {
  23. return $this->render('mentions/plan.html.twig');
  24. }
  25. }