<?php
namespace App\Controller\front;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
class FrontController extends AbstractController
{
/**
* @Route("/", name="front")
*/
public function index(): Response
{
//return $this->render('front/index.html.twig', []);
return $this->redirectToRoute('front_new_event');
}
}