group(function () { Route::get('/', [OptionsController::class, 'index'])->name('options.index'); Route::get('/create', [OptionsController::class, 'create'])->name('options.create'); Route::post('/store', [OptionsController::class, 'store'])->name('options.store'); Route::post('/sort', [OptionsController::class, 'sort'])->name('options.sort'); Route::post('/updatealias', [OptionsController::class, 'updatealias'])->name('options.updatealias'); Route::get('/show/{id}', [OptionsController::class, 'show'])->name('options.show'); Route::get('/edit/{id}', [OptionsController::class, 'edit'])->name('options.edit') ; Route::post('/update/{id}', [OptionsController::class, 'update'])->name('options.update'); Route::delete('/destroy/{id}', [OptionsController::class, 'destroy'])->name('options.destroy'); Route::get('/toggle/{id}', [OptionsController::class, 'toggle'])->name('options.toggle'); //issued page routing Route::get('/create_issue', [OptionsController::class, 'issued_create'])->name('issued.create'); });