From da41eb1fb1e6aaf740e910dc02b2d38f2e8cf894 Mon Sep 17 00:00:00 2001 From: jskvara Date: Sat, 5 Jul 2014 12:38:59 +0100 Subject: [PATCH] [FrameworkBundle] improved controller name parse error message --- .../Bundle/FrameworkBundle/Controller/ControllerNameParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerNameParser.php b/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerNameParser.php index e05f143b4b..9321499d43 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerNameParser.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerNameParser.php @@ -79,7 +79,7 @@ class ControllerNameParser } $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) {