add default value for $route param in doDelete method
This commit is contained in:
parent
f7eb5b0b49
commit
946a421900
|
@ -258,7 +258,7 @@ abstract class CrudController extends AdminController
|
|||
return $this->json([]);
|
||||
}
|
||||
|
||||
protected function doDelete(EntityInterface $entity, EntityManager $entityManager, Request $request, callable $beforeDelete = null, string $route): Response
|
||||
protected function doDelete(EntityInterface $entity, EntityManager $entityManager, Request $request, callable $beforeDelete = null, string $route = 'index'): Response
|
||||
{
|
||||
$configuration = $this->getConfiguration();
|
||||
|
||||
|
|
Loading…
Reference in a new issue