Route::middleware(['role:admin|moderator'])->prefix('admin_panel')->group(function () {
Route::get('/', [\App\Http\Controllers\Admin\HomeController::class, 'index'])->name('admin');
// Route::get('/users',[\App\Http\Controllers\Admin\HomeController::class, 'usersView']);
Route::get('/users', [\App\Http\Controllers\Admin\HomeController::class, 'usersView'])->name('users');
Route::get('/allusers', [\App\Http\Controllers\Admin\HomeController::class, 'allUsers'])->name('allusers');
Route::get('/teams', [\App\Http\Controllers\Admin\HomeController::class, 'teamsView'])->name('teams');
Route::get('/orders', [\App\Http\Controllers\Admin\HomeController::class, 'orders'])->name('orders');
});