PhotoManagement moved to Admin.
This commit is contained in:
+1
-1
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user