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