app/Http/Kernel.php: Adding ShareErrorsFromSession to web middleware group.
This commit is contained in:
parent
fc705f0dc5
commit
ff6cfadf28
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ class Kernel extends HttpKernel
|
||||||
protected $middlewareGroups = [
|
protected $middlewareGroups = [
|
||||||
'web' => [
|
'web' => [
|
||||||
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||||
|
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue