[FrameworkBundle] fix describing routes with no controllers
This commit is contained in:
parent
68b823f243
commit
a1c612aedf
@ -56,7 +56,7 @@ class TextDescriptor extends Descriptor
|
||||
|
||||
if ($showControllers) {
|
||||
$controller = $route->getDefault('_controller');
|
||||
$row[] = $this->formatCallable($controller);
|
||||
$row[] = $controller ? $this->formatCallable($controller) : '';
|
||||
}
|
||||
|
||||
$tableRows[] = $row;
|
||||
|
Reference in New Issue
Block a user