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.
1 parent 139003f commit b425760Copy full SHA for b425760
src/RestifyApplicationServiceProvider.php
@@ -11,7 +11,6 @@
11
use Binaryk\LaravelRestify\Http\Middleware\RestifyInjector;
12
use Illuminate\Contracts\Http\Kernel;
13
use Illuminate\Filesystem\Filesystem;
14
-use Illuminate\Support\Facades\App;
15
use Illuminate\Support\Facades\Gate;
16
use Illuminate\Support\Facades\Route;
17
use Illuminate\Support\ServiceProvider;
@@ -120,8 +119,6 @@ protected function routes(): void
120
119
121
$kernel->pushMiddleware(RestifyInjector::class);
122
123
- if (App::runningInConsole()) {
124
- app(RoutesBoot::class)->boot();
125
- }
+ app(RoutesBoot::class)->boot();
126
}
127
0 commit comments