src/Controller/front/FrontController.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Controller\front;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
  7. class FrontController extends AbstractController
  8. {
  9.     /**
  10.      * @Route("/", name="front")
  11.      */
  12.     public function index(): Response
  13.     {
  14.         //return $this->render('front/index.html.twig', []);
  15.         return $this->redirectToRoute('front_new_event');
  16.     }
  17. }