This commit is contained in:
F4ilji
2026-03-20 21:47:02 +05:00
parent ae7b42acbe
commit a3948c872e
1926 changed files with 2630 additions and 270 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
use App\Containers\Dashboard\UI\WEB\Controllers\IndexDashboardController;
use App\Containers\Dashboard\UI\WEB\Controllers\ProcessMixedFilesController;
use App\Containers\Dashboard\UI\WEB\Controllers\PublishPostController;
use App\Containers\Dashboard\UI\WEB\Controllers\StoreFilesController;
use Illuminate\Support\Facades\Route;
Route::middleware(['access-check', 'superadmin'])->group(function () {
Route::get('/dashboard', IndexDashboardController::class)->name('dashboard.index');
// Смешанная загрузка (все файлы в одном поле)
Route::post('/dashboard/files/store', ProcessMixedFilesController::class)->name('dashboard.files.store');
// Раздельная загрузка (document + media) - для будущего использования
Route::post('/dashboard/files/store-separate', StoreFilesController::class)->name('dashboard.files.store-separate');
// Публикация черновика поста
Route::post('/dashboard/posts/{post}/publish', PublishPostController::class)->name('dashboard.posts.publish');
});