feat: add theme update

This commit is contained in:
2026-06-24 17:24:31 +03:30
parent a6f41ed6f8
commit b24af706a0
2 changed files with 24 additions and 0 deletions
+2
View File
@@ -202,6 +202,8 @@
/// themes (color themes a scene can use)
Route::get('/themes', [ThemeController::class, 'index']);
Route::get('/themes/{id}', [ThemeController::class, 'show']);
Route::put('/themes/{id}', [ThemeController::class, 'update']); // edit name / colors / order / active
Route::post('/themes/{id}', [ThemeController::class, 'update']); // same, for method-spoofed clients
/// scenes (تنظیمات صحنه) — each scene has an image, optional video, and sound
// Consolidated settings screen (all scenes + current user's preferences) in one call.