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