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