<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class IndexController extends AbstractController
{
/**
* @Route(path="/")
* @return \Symfony\Component\HttpFoundation\RedirectResponse
*/
public function index(): Response
{
return $this->redirectToRoute('admin');
}
}