Use the route attribute from the correct namespace

This commit is contained in:
Jan Böhmer 2024-03-03 20:37:33 +01:00
parent d49bb1f4b5
commit 18c80f6b64
31 changed files with 31 additions and 31 deletions

View file

@ -28,7 +28,7 @@ use App\Entity\Parts\Part;
use App\Services\EDA\KiCadHelper;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Routing\Attribute\Route;
#[Route('/kicad-api/v1')]
class KiCadApiController extends AbstractController