fix: update CRUD routing controller syntax

- Replace `:` with `::` for `_controller` to align with modern Symfony standards
This commit is contained in:
2025-09-10 17:12:14 +02:00
parent 509b2c2590
commit 4bd9e2ba7d

View File

@@ -182,7 +182,7 @@ class CRUDRoutesLoader extends Loader
{
$localPath = $action['path'].'.{_format}';
$defaults = [
'_controller' => $controller.':'.($action['controller_action'] ?? 'entityPost'),
'_controller' => $controller.'::'.($action['controller_action'] ?? 'entityPost'),
];
$path = $crudConfig['base_path'].$localPath;
$requirements = $action['requirements'] ?? [];