Sidebar: remove centralized account links; redirect Wallet/Billing to hub
Deploy Ladill Hosting / deploy (push) Successful in 44s
Deploy Ladill Hosting / deploy (push) Successful in 44s
Remove the Wallet/Billing/Team links from the hosting sidebar (managed centrally at account.ladill.com); keep Support (deep-links to hub) and Settings. Redirect the now-orphaned account.wallet/account.billing routes to the central hub so bookmarks still work. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
2ff74c45ac
commit
869a53d168
+3
-2
@@ -122,8 +122,9 @@ Route::middleware(['auth'])->group(function () use ($serversApp) {
|
||||
Route::post('/hosting/legacy/{hostingOrder}/reset-panel-password', [HostingController::class, 'resetPanelPassword'])->name('hosting.legacy.reset-panel-password');
|
||||
Route::delete('/hosting/legacy/{hostingOrder}', [HostingController::class, 'destroy'])->name('hosting.legacy.destroy');
|
||||
|
||||
Route::get('/account/wallet', [AccountController::class, 'wallet'])->name('account.wallet');
|
||||
Route::get('/account/billing', [AccountController::class, 'billing'])->name('account.billing');
|
||||
// Wallet & Billing live on the central account hub (account.ladill.com).
|
||||
Route::get('/account/wallet', fn () => redirect()->away(ladill_account_url('/wallet')))->name('account.wallet');
|
||||
Route::get('/account/billing', fn () => redirect()->away(ladill_account_url('/billing')))->name('account.billing');
|
||||
Route::get('/account/settings', [AccountController::class, 'settings'])->name('account.settings');
|
||||
Route::put('/account/settings', [AccountController::class, 'updateSettings'])->name('account.settings.update');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user