src/Controller/indexData.php line 18

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. use Symfony\Component\HttpFoundation\Request;
  7. use Symfony\Component\HttpFoundation\RedirectResponse;
  8. class indexData extends AbstractController
  9. {
  10.   /**
  11.    * @Route("/", name="index_page")
  12.    */
  13.   public function index_redirect(): Response
  14.   {
  15.     return $this->redirectToRoute('auth_login_page');
  16.   }
  17. }
  18. ?>