This commit is contained in:
2024-12-05 10:36:55 +01:00
parent 2123b5464f
commit b9aaff7931
6 changed files with 63 additions and 23 deletions

View File

@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
class EntrypointController extends AbstractController
{
#[Route(path: '/', name: 'app_root', methods: Request::METHOD_GET)]
public function __invoke(): Response
{
return $this->redirectToRoute('app_home');
}
}