diff --git a/routes/web.php b/routes/web.php index 82704d7..d5515b1 100644 --- a/routes/web.php +++ b/routes/web.php @@ -13,7 +13,7 @@ use Mcamara\LaravelLocalization\Facades\LaravelLocalization; | contains the "web" middleware group. Now create something great! | */ -Route::group(['prefix' => LaravelLocalization::setLocale()], function (){ +Route::group(['prefix' => LaravelLocalization::setLocale(), 'middleware' => [ 'localeSessionRedirect', 'localizationRedirect', 'localeViewPath' ]], function (){ Route::group(['prefix' => 'auth', 'middleware' => ['usernameUUID']], function (){