Skip to content

Commit

Permalink
added getLoginDetail action to Convertim backend
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasLudvik committed Oct 25, 2024
1 parent c6e6b8c commit 4192024
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Component/AnnotatedRouteControllerLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4192024

Please sign in to comment.