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