Skip to content

Commit

Permalink
Merge pull request #278 from dotkernel/issue-277-v5
Browse files Browse the repository at this point in the history
Issue #277: Sorted routes by name
  • Loading branch information
arhimede authored Jun 7, 2024
2 parents b48285d + cf5af00 commit fb32a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App/src/Command/RouteListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
continue;
}

$routes[sprintf('%s:%s', $method, $route->getPath())] = [
$routes[sprintf('%s:%s', $route->getName(), $method)] = [
'name' => $route->getName(),
'path' => $route->getPath(),
'method' => $method,
Expand Down

0 comments on commit fb32a22

Please sign in to comment.