From 4bd9e2ba7dbf999ca87fa2e0d1a9b9d76bd1339c Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 10 Sep 2025 17:12:14 +0200 Subject: [PATCH] fix: update CRUD routing controller syntax - Replace `:` with `::` for `_controller` to align with modern Symfony standards --- src/Bundle/ChillMainBundle/CRUD/Routing/CRUDRoutesLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/CRUD/Routing/CRUDRoutesLoader.php b/src/Bundle/ChillMainBundle/CRUD/Routing/CRUDRoutesLoader.php index 3ac35a193..45cebfad3 100644 --- a/src/Bundle/ChillMainBundle/CRUD/Routing/CRUDRoutesLoader.php +++ b/src/Bundle/ChillMainBundle/CRUD/Routing/CRUDRoutesLoader.php @@ -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'] ?? [];