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`.
170
170
\Illuminate\Routing\Middleware\SubstituteBindings::class,
171
171
]);
172
172
$middleware->web(append: [
173
- \CodeZero\Localizer \Middleware\SetLocale::class,
173
+ \CodeZero\LocalizedRoutes \Middleware\SetLocale::class,
174
174
\Illuminate\Routing\Middleware\SubstituteBindings::class,
175
175
]);
176
176
})
@@ -187,7 +187,7 @@ protected $middlewareGroups = [
187
187
//...
188
188
\Illuminate\Session\Middleware\StartSession::class, // <= after this
189
189
//...
190
- \CodeZero\Localizer \Middleware\SetLocale::class,
190
+ \CodeZero\LocalizedRoutes \Middleware\SetLocale::class,
191
191
\Illuminate\Routing\Middleware\SubstituteBindings::class, // <= before this
192
192
],
193
193
];
You can’t perform that action at this time.
0 commit comments