PhotoManagement moved to Admin.

This commit is contained in:
2024-09-19 18:28:53 +02:00
parent 77f8d9f87a
commit 0cf6f231a3
2 changed files with 2 additions and 2 deletions
@@ -1,6 +1,6 @@
<?php <?php
namespace App\Controller; namespace App\Controller\Admin;
use App\Service\FileUploaderService; use App\Service\FileUploaderService;
use EasyCorp\Bundle\EasyAdminBundle\Router\AdminUrlGenerator; use EasyCorp\Bundle\EasyAdminBundle\Router\AdminUrlGenerator;
@@ -62,7 +62,7 @@ class RoomAvailabilityAdminController extends AbstractController
//TODOME: Aquí deberíamos llevar a una página de error o algo. //TODOME: Aquí deberíamos llevar a una página de error o algo.
$url = $this->adminUrlGenerator->setRoute('admin_roomAvailability_category', [ $url = $this->adminUrlGenerator->setRoute('admin_roomAvailability_category', [
'categoryId' => $item->getId(), 'categoryId' => $categoryId,
])->generateUrl(); ])->generateUrl();
return $this->redirect($url); return $this->redirect($url);
} }