File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ Add the middleware to the `web` middleware group in `bootstrap/app.php`.
170170 \Illuminate\Routing\Middleware\SubstituteBindings::class,
171171 ]);
172172 $middleware->web(append: [
173- \CodeZero\Localizer \Middleware\SetLocale::class,
173+ \CodeZero\LocalizedRoutes \Middleware\SetLocale::class,
174174 \Illuminate\Routing\Middleware\SubstituteBindings::class,
175175 ]);
176176})
@@ -187,7 +187,7 @@ protected $middlewareGroups = [
187187 //...
188188 \Illuminate\Session\Middleware\StartSession::class, // <= after this
189189 //...
190- \CodeZero\Localizer \Middleware\SetLocale::class,
190+ \CodeZero\LocalizedRoutes \Middleware\SetLocale::class,
191191 \Illuminate\Routing\Middleware\SubstituteBindings::class, // <= before this
192192 ],
193193];
You can’t perform that action at this time.
0 commit comments