Skip to content

Commit

Permalink
normalize actions on route:list artisan (#23148)
Browse files Browse the repository at this point in the history
remove leading slash
  • Loading branch information
skyrpex authored and taylorotwell committed Feb 13, 2018
1 parent 5318062 commit e0cf00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Console/RouteListCommand.php
Expand Up @@ -110,7 +110,7 @@ protected function getRouteInformation(Route $route)
'method' => implode('|', $route->methods()),
'uri' => $route->uri(),
'name' => $route->getName(),
'action' => $route->getActionName(),
'action' => ltrim($route->getActionName(), '\\'),
'middleware' => $this->getMiddleware($route),
]);
}
Expand Down

0 comments on commit e0cf00f

Please sign in to comment.