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