src/Core/Controller/IndexController.php line 11

  1. <?php
  2. namespace App\Core\Controller;
  3. use Symfony\Component\HttpFoundation\Response;
  4. use Symfony\Component\Routing\Annotation\Route;
  5. class IndexController extends AbstractCoreController
  6. {
  7.     #[Route(''methods: ['GET'])]
  8.     public function index(): Response
  9.     {
  10.         return $this->render('index.html.twig');
  11.     }
  12.     #[Route('/login'methods: ['GET'])]
  13.     public function login(): Response
  14.     {
  15.         return $this->render('index.html.twig');
  16.     }
  17.     #[Route('/show'methods: ['GET'])]
  18.     public function show(): Response
  19.     {
  20.         return $this->render('base1.html.twig');
  21.     }
  22. }