We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 23c9677 + 9c70237 commit 5063159Copy full SHA for 5063159
2 files changed
src/Foundation/Application.php
@@ -368,6 +368,10 @@ public function boot()
368
$this->runRequestThroughStack($request);
369
370
$this->bootProviders();
371
+
372
+ if ($this->resolved('router')) {
373
+ $this['router']->dispatch($request);
374
+ }
375
}
376
377
/**
src/Foundation/Providers/RouteServiceProvider.php
@@ -24,7 +24,5 @@ public function map()
24
public function boot()
25
{
26
$this->map();
27
-
28
- $this->app['router']->dispatch($this->app['request']);
29
30
0 commit comments