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