[FrameworkBundle] improved controller name parse error message
This commit is contained in:
parent
ee0a0740f8
commit
da41eb1fb1
@ -79,7 +79,7 @@ class ControllerNameParser
|
|||||||
}
|
}
|
||||||
|
|
||||||
$bundles[] = $b->getName();
|
$bundles[] = $b->getName();
|
||||||
$msg = sprintf('Unable to find controller "%s:%s" - class "%s" does not exist.', $bundle, $controller, $try);
|
$msg = sprintf('The _controller value "%s:%s:%s" maps to a "%s" class, but this class was not found. Create this class or check the spelling of the class and its namespace.', $bundle, $controller, $action, $try);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($bundles) > 1) {
|
if (count($bundles) > 1) {
|
||||||
|
Reference in New Issue
Block a user