fixed the explore page after the admin panel

This commit is contained in:
ghassan committed 2026-01-26 01:02:24 +03:00
1 parent b16351c416
commit 9b3b0cd1f0
3 files changed
+37 -8

No files matched your search

+3 -1
View File
@@ -82,7 +82,9 @@ Route::middleware(['auth'])->group(function () {
// Platform Admin routes (Super Admin only)
Route::middleware(['auth', 'verified', 'role:super-admin'])->prefix('admin')->name('admin.')->group(function () {
Route::get('/', [App\Http\Controllers\Admin\PlatformController::class, 'index'])->name('platform.index');
Route::get('/', function () {
return redirect()->route('admin.platform.clubs');
})->name('platform.index');
// All Clubs Management
Route::get('/clubs', [App\Http\Controllers\Admin\PlatformController::class, 'clubs'])->name('platform.clubs');