Skip to content

Commit e551d33

Browse files
authored
Merge pull request #6270 from kenjis/fix-spark-routes
fix: `spark routes` does not show routes at all
2 parents 1d7a662 + dcfc17e commit e551d33

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

system/Commands/Utilities/Routes.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ class Routes extends BaseCommand
7575
*/
7676
public function run(array $params)
7777
{
78-
$collection = Services::routes(true);
78+
$routes = Services::routes(true);
79+
require APPPATH . 'Config/Routes.php';
80+
81+
$collection = $routes;
7982
$methods = [
8083
'get',
8184
'head',

0 commit comments

Comments
 (0)