src/Controller/ContactController.php line 33

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 ContactController extends AbstractController
  7. {
  8.     #[Route('/contact'name'app_contact')]
  9.     public function index(): Response
  10.     {
  11.         return $this->render('frontend/contact/contact.html.twig', [
  12.         ]);
  13.     }
  14.     #[Route('/mobile-app'name'app_mobile_app')]
  15.     public function mobile(): Response
  16.     {
  17.         return $this->render('frontend/contact/mobile.html.twig', [
  18.         ]);
  19.     }
  20.     #[Route('/mention-legals'name'app_mention_legal')]
  21.     public function mention(): Response
  22.     {
  23.         return $this->render('frontend/contact/mention-legal.html.twig', [
  24.         ]);
  25.     }
  26.     #[Route('/conditions-generales-utilisation'name'app_condition_utilisation')]
  27.     public function cgu(): Response
  28.     {
  29.         return $this->render('frontend/contact/cgu.html.twig', [
  30.         ]);
  31.     }
  32.     #[Route('/conditions-generales-de-vente'name'app_condition_vente')]
  33.     public function cgv(): Response
  34.     {
  35.         return $this->render('frontend/contact/cgv.html.twig', [
  36.         ]);
  37.     }
  38. }