From 61d6fe43d4174cf994f63de8843eb592a3fd7c44 Mon Sep 17 00:00:00 2001 From: A1Gard Date: Sun, 12 Jan 2025 03:52:38 +0330 Subject: [PATCH] fixed bug props restore --- routes/web.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routes/web.php b/routes/web.php index c5fee7a..17b6c43 100644 --- a/routes/web.php +++ b/routes/web.php @@ -298,7 +298,11 @@ Route::prefix(config('app.panel.prefix'))->name('admin.')->group( Route::get('edit/{item}', [\App\Http\Controllers\Admin\PropController::class, 'edit'])->name('edit'); Route::post('update/{item}', [\App\Http\Controllers\Admin\PropController::class, 'update'])->name('update'); Route::get('delete/{item}', [\App\Http\Controllers\Admin\PropController::class, 'destroy'])->name('destroy'); + Route::get('restore/{item}', [\App\Http\Controllers\Admin\PropController::class, 'restore'])->name('restore'); + Route::post('bulk', [\App\Http\Controllers\Admin\PropController::class, "bulk"])->name('bulk'); + Route::get('trashed', [\App\Http\Controllers\Admin\PropController::class, "trashed"])->name('trashed'); + Route::post('sort/save', [\App\Http\Controllers\Admin\PropController::class, 'sortSave'])->name('sort-save'); Route::get('sort', [\App\Http\Controllers\Admin\PropController::class, 'sort'])->name('sort'); });