скрытие магазина

This commit is contained in:
2026-07-28 14:47:07 +04:00
parent 373649c3d2
commit 66251ede8e
15 changed files with 169 additions and 172 deletions
+1
View File
@@ -71,6 +71,7 @@ Route::middleware(['auth', 'gamemaster'])
Route::delete('/news/{newsItem}', [AdminNewsController::class, 'destroy'])->name('news.destroy');
Route::get('/shop', [ShopController::class, 'index'])->name('shop.index');
Route::patch('/shop/availability', [ShopController::class, 'updateAvailability'])->name('shop.availability.update');
Route::post('/shop/categories', [ShopController::class, 'storeCategory'])->name('shop.categories.store');
Route::patch('/shop/categories/{category}', [ShopController::class, 'updateCategory'])->name('shop.categories.update');
Route::delete('/shop/categories/{category}', [ShopController::class, 'destroyCategory'])->name('shop.categories.destroy');