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