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