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