We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
register()
1 parent 96c60a7 commit 18f0ce7Copy full SHA for 18f0ce7
src/ServiceProvider.php
@@ -23,6 +23,10 @@ public function register()
23
'inertia'
24
);
25
26
+ $this->registerRequestMacro();
27
+ $this->registerRouterMacro();
28
+ $this->registerTestingMacros();
29
+
30
$this->app->bind('inertia.testing.view-finder', function ($app) {
31
return new FileViewFinder(
32
$app['files'],
@@ -36,9 +40,6 @@ public function boot()
36
40
{
37
41
$this->registerBladeDirective();
38
42
$this->registerConsoleCommands();
39
- $this->registerRequestMacro();
- $this->registerRouterMacro();
- $this->registerTestingMacros();
43
44
$this->publishes([
45
__DIR__.'/../config/inertia.php' => config_path('inertia.php'),
0 commit comments