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'] ?? [];