Skip to content

Commit

Permalink
Merge pull request #279 from dotkernel/issue-277-v4
Browse files Browse the repository at this point in the history
Issue #277: Sorted routes by name
  • Loading branch information
arhimede authored Jun 10, 2024
2 parents 1510df7 + 2496c52 commit cd9c99b
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 cd9c99b

Please sign in to comment.