<?php
namespace App\Controller\Front;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
class HomeController extends AbstractController
{
/**
* @Route("/", name="homepage")
*/
public function indexAction(CsrfTokenManagerInterface $tokenManager)
{
return $this->redirectToRoute('app_homepage');
}
}