solved by using
in AppServiceProvider
protected $middleware = [
...
'locale' => 'Hernandev\Blog\Http\Middleware\LocaleMiddleware'
];
$router->group(
[
'middleware' => ['locale'],
],
function ($router) {
...
}
);
Looks like they dropped FilterServiceProvider. What does a filter class look like now?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community