Added SubstituteBindings

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-07-17 23:02:10 +01:00
parent beb0836d69
commit 345a4306e8

View file

@ -43,10 +43,12 @@ class Kernel extends HttpKernel
\Laravel\Passport\Http\Middleware\CreateFreshApiToken::class,
\App\Http\Middleware\AssetCountForSidebar::class,
\Illuminate\Session\Middleware\AuthenticateSession::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
'api' => [
'auth:api',
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
];