-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In laravel 10 there is no $routeMiddleware #867
Comments
There is no To run, you can add it to protected
On the other hand, despite the installation, localization within the blade templates worked fine but not within the controller. I've been searching for a solution to this for a few days and realized that the problem was url redirection. Although the sessions change, the
Sorry for bad English ^^ Good Code! |
I added code to $middlewareGroups `
` Everything is okay |
In laravel 10 there is no $routeMiddleware where can i put this
/**** OTHER MIDDLEWARE ****/
'localize' => \Mcamara\LaravelLocalization\Middleware\LaravelLocalizationRoutes::class,
'localizationRedirect' => \Mcamara\LaravelLocalization\Middleware\LaravelLocalizationRedirectFilter::class,
'localeSessionRedirect' => \Mcamara\LaravelLocalization\Middleware\LocaleSessionRedirect::class,
'localeCookieRedirect' => \Mcamara\LaravelLocalization\Middleware\LocaleCookieRedirect::class,
'localeViewPath' => \Mcamara\LaravelLocalization\Middleware\LaravelLocalizationViewPath::class
The text was updated successfully, but these errors were encountered: