src/Controller/Front/DefaultController.php line 16

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Controller\Front;
  4. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  5. use Symfony\Component\HttpFoundation\Response;
  6. use Symfony\Component\Routing\Annotation\Route;
  7. class DefaultController extends AbstractController
  8. {
  9.     /**
  10.      * @Route("/", name="home")
  11.      */
  12.     public function index(): Response
  13.     {
  14.         return $this->render('front/default/index.html.twig', [
  15.         ]);
  16.     }
  17.     /**
  18.      * @Route("/about/", name="about")
  19.      */
  20.     public function about(): Response
  21.     {
  22.         return $this->render('front/about/index.html.twig', [
  23.         ]);
  24.     }
  25.     /**
  26.      * @Route("/howto/", name="howto")
  27.      */
  28.     public function howto(): Response
  29.     {
  30.         return $this->render('front/howto/index.html.twig', [
  31.         ]);
  32.     }
  33.     /**
  34.      * @Route("/disclaimer/", name="disclaimer")
  35.      */
  36.     public function disclaimer(): Response
  37.     {
  38.         return $this->render('front/disclaimer/index.html.twig', [
  39.         ]);
  40.     }
  41. }