Fix route attribute deprecation

This commit is contained in:
Tim
2023-12-20 22:51:29 +01:00
parent 9e3590a39d
commit caa6d4da17
5 changed files with 5 additions and 7 deletions

View File

@ -4,7 +4,7 @@ namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Routing\Attribute\Route;
class HomeController extends AbstractController
{