[FrameworkBundle] 3.3: Don't get() private services from debug:router
This commit is contained in:
parent
5de56eba9a
commit
c75e486413
@ -137,7 +137,7 @@ EOF
|
||||
}
|
||||
}
|
||||
|
||||
$nameParser = $this->getContainer()->get('controller_name_converter');
|
||||
$nameParser = new ControllerNameParser($this->getApplication()->getKernel());
|
||||
try {
|
||||
$shortNotation = $nameParser->build($controller);
|
||||
$route->setDefault('_controller', $shortNotation);
|
||||
|
Reference in New Issue
Block a user