Skip to content

Commit

Permalink
[FrameworkBundle] fix describing routes with no controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Dec 12, 2018
1 parent 68b823f commit a1c612a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -56,7 +56,7 @@ protected function describeRouteCollection(RouteCollection $routes, array $optio

if ($showControllers) {
$controller = $route->getDefault('_controller');
$row[] = $this->formatCallable($controller);
$row[] = $controller ? $this->formatCallable($controller) : '';
}

$tableRows[] = $row;
Expand Down

0 comments on commit a1c612a

Please sign in to comment.