Config Variables - Model & Easyadmin.

This commit is contained in:
2024-04-27 18:46:35 +02:00
parent 84d9c81afd
commit 7a56158563
10 changed files with 260 additions and 6 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ class RoomCategoryController extends AbstractController
{
#[Route('/room/category', name: 'app_room_AllCategories')]
public function getAll(RoomCategoryRepository $catRepo, SerializerInterface $serializer): Response
public function getAll(RoomCategoryRepository $catRepo): Response
{
$catList = $catRepo->findAll();
@@ -26,7 +26,7 @@ class RoomCategoryController extends AbstractController
}
#[Route('/room/category/{id}', name: 'app_room_category')]
public function getById(RoomCategory $category, SerializerInterface $serializer): Response
public function getById(RoomCategory $category): Response
{
return $this->json($category);
}