group(function () { Route::get('/', 'index')->name('web.home'); }); // locale Route::get('/lang/{locale}', [LanguageController::class, 'swap']);