Replace the smart redirect on /dashboard with an overview hub (stats, recent accounts, pending orders) matching Domains and Email, and move the full account list to /hosting/accounts. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+4
-2
@@ -9,6 +9,7 @@ use App\Http\Controllers\Hosting\HostingPanelController;
|
||||
use App\Http\Controllers\Hosting\HostingProductController;
|
||||
use App\Http\Controllers\Hosting\HostingTerminalSessionController;
|
||||
use App\Http\Controllers\Hosting\MailboxLinkBannerController;
|
||||
use App\Http\Controllers\Hosting\OverviewController;
|
||||
use App\Http\Controllers\Hosting\TeamController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
@@ -28,9 +29,10 @@ Route::get('/sso/logout-frontchannel', [SsoLoginController::class, 'frontchannel
|
||||
Route::get('/signed-out', fn () => auth()->check() ? redirect()->route('hosting.dashboard') : view('hosting.signed-out'))->name('hosting.signed-out');
|
||||
|
||||
Route::middleware(['auth'])->group(function () use ($serversApp) {
|
||||
Route::get('/dashboard', [HostingProductController::class, 'index'])->name('hosting.dashboard');
|
||||
Route::get('/dashboard', [OverviewController::class, 'index'])->name('hosting.dashboard');
|
||||
|
||||
Route::get('/hosting', [HostingProductController::class, 'index'])->name('hosting.index');
|
||||
Route::redirect('/hosting', '/dashboard')->name('hosting.index');
|
||||
Route::get('/hosting/accounts', [OverviewController::class, 'accounts'])->name('hosting.accounts.index');
|
||||
Route::get('/hosting/single-domain', [HostingProductController::class, 'singleDomain'])->name('hosting.single-domain');
|
||||
Route::get('/hosting/multi-domain', [HostingProductController::class, 'multiDomain'])->name('hosting.multi-domain');
|
||||
Route::get('/hosting/wordpress', [HostingProductController::class, 'wordpress'])->name('hosting.wordpress');
|
||||
|
||||
Reference in New Issue
Block a user