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

@ -2,7 +2,6 @@
namespace App\Controller;
use App\Entity\User;
use App\Form\ProfileType;
use App\Form\UserSettingsType;
use App\Service\LastRelease;
@ -11,8 +10,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Uid\Uuid;
use Symfony\Component\Routing\Attribute\Route;
#[Route('/user', name: 'user')]
class UserController extends AbstractController