<?php

use Illuminate\Support\Facades\Route;

Route::get('/', [App\Http\Controllers\Admin\Dash\DashController::class, 'dashboard'])->name('admin.dash.index');

Route::view('/lab', 'admin::lab.index')->name('admin.lab.index');

Route::get('/cache/reset', [App\Http\Controllers\Admin\Cache\CacheController::class, 'reset'])->name('admin.cache.reset');

Route::view('/coming', 'apps.mpa.admin.coming.index')->name('admin.coming.index');

Route::prefix('users')->group(base_path('routes/admin/users/web.php'));

Route::prefix('posts')->group(base_path('routes/admin/posts/web.php'));

Route::prefix('ads')->group(base_path('routes/admin/ads/web.php'));

Route::prefix('stories')->group(base_path('routes/admin/stories/web.php'));

Route::prefix('market')->group(base_path('routes/admin/market/web.php'));

Route::prefix('jobs')->group(base_path('routes/admin/jobs/web.php'));

Route::prefix('config')->group(base_path('routes/admin/config/web.php'));

Route::prefix('payments')->group(base_path('routes/admin/payments/web.php'));

Route::prefix('reports')->group(base_path('routes/admin/reports/web.php'));

Route::prefix('lang')->group(base_path('routes/admin/lang/web.php'));

Route::prefix('currency')->group(base_path('routes/admin/currency/web.php'));

Route::prefix('banning')->group(base_path('routes/admin/banning/web.php'));

Route::prefix('storage')->group(base_path('routes/admin/storage/web.php'));