group(function () { Route::get('/', [NationalitiesController::class, 'index'])->name('nationalities.index'); Route::get('/create', [NationalitiesController::class, 'create'])->name('nationalities.create'); Route::post('/store', [NationalitiesController::class, 'store'])->name('nationalities.store'); Route::post('/sort', [NationalitiesController::class, 'sort'])->name('nationalities.sort'); Route::post('/updatealias', [NationalitiesController::class, 'updatealias'])->name('nationalities.updatealias'); Route::get('/show/{id}', [NationalitiesController::class, 'show'])->name('nationalities.show'); Route::get('/edit/{id}', [NationalitiesController::class, 'edit'])->name('nationalities.edit') ; Route::post('/update/{id}', [NationalitiesController::class, 'update'])->name('nationalities.update'); Route::get('/destroy/{id}', [NationalitiesController::class, 'destroy'])->name('nationalities.destroy'); Route::get('/toggle/{id}', [NationalitiesController::class, 'toggle'])->name('nationalities.toggle'); Route::get('/clone/{id}', [NationalitiesController::class, 'clone'])->name('nationalities.clone'); });