'/dummy'], function () { Route::get('', [RoutingController::class, 'index'])->name('root'); Route::get('{first}/{second}/{third}', [RoutingController::class, 'thirdLevel'])->name('third'); Route::get('{first}/{second}', [RoutingController::class, 'secondLevel'])->name('second'); Route::get('{any}', [RoutingController::class, 'root'])->name('any'); }); // Location selection route Route::post('/location/select', [LocationController::class, 'select'])->name('location.select'); // Language switching route Route::post('/locale/switch', [LocaleController::class, 'switch'])->name('locale.switch'); Route::get('/', [HomeController::class, 'index'])->name('home');