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