src/Controller/Guest/GuestController.php line 16

Open in your IDE?
  1. <?php
  2. namespace App\Controller\Guest;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. class GuestController extends AbstractController
  7. {
  8.     /**
  9.      * @Route("/", name="home")
  10.      */
  11.     public function index(): Response
  12.     {
  13.         return $this->render('guest/index.html.twig');
  14.     }
  15.     /**
  16.      * @Route("/polityka-prywatnosci", name="privacy")
  17.      */
  18.     public function privacy(): Response
  19.     {
  20.         return $this->render('guest/privacy.html.twig');
  21.     }
  22.     /**
  23.      * @Route("/regulamin", name="terms")
  24.      */
  25.     public function terms(): Response
  26.     {
  27.         return $this->render('guest/terms.html.twig');
  28.     }
  29. }