Skip to content

Commit

Permalink
Merge pull request #8028 from kenjis/fix-spark-named-routes
Browse files Browse the repository at this point in the history
fix: named routes don't work with spark
  • Loading branch information
kenjis authored Oct 13, 2023
2 parents 617180a + aa83cd2 commit 586b9f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system/CLI/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ public function run()
// Create CLIRequest
$appConfig = config(App::class);
Services::createRequest($appConfig, true);
// Load Routes
Services::routes()->loadRoutes();

$runner = Services::commands();
$params = array_merge(CLI::getSegments(), CLI::getOptions());
Expand Down

0 comments on commit 586b9f2

Please sign in to comment.