diff --git a/src/Component/AnnotatedRouteControllerLoader.php b/src/Component/AnnotatedRouteControllerLoader.php index ad5af5ae84..185de37a99 100644 --- a/src/Component/AnnotatedRouteControllerLoader.php +++ b/src/Component/AnnotatedRouteControllerLoader.php @@ -23,6 +23,7 @@ class AnnotatedRouteControllerLoader extends BaseAnnotatedRouteControllerLoader protected function getDefaultRouteName(ReflectionClass $class, ReflectionMethod $method): string { $routeName = parent::getDefaultRouteName($class, $method); + $routeName = preg_replace('/^(shopsys_convertim)/', 'convertim', $routeName); return preg_replace('/^(app_|shopsys_framework_)/', '', $routeName); }