Skip to content

Commit

Permalink
[FrameworkBundle] improved controller name parse error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jskvara committed Jul 23, 2014
1 parent ee0a074 commit da41eb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function parse($controller)
}

$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) {
Expand Down

0 comments on commit da41eb1

Please sign in to comment.