Remove centralized account nav from app sidebar; redirect legacy URLs.
Deploy Ladill Merchant / deploy (push) Successful in 26s
Deploy Ladill Merchant / deploy (push) Successful in 26s
Wallet, Billing, Team, Developers, and Support live on account.ladill.com. Siloed sidebars keep product nav and app Settings only. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -23,8 +23,6 @@
|
||||
<span>{{ $item['name'] }}</span>
|
||||
</a>
|
||||
@endforeach
|
||||
<p class="px-3 pb-1 pt-5 text-[10px] font-bold uppercase tracking-widest text-slate-400">Account</p>
|
||||
@include('partials.sidebar-support')
|
||||
</nav>
|
||||
|
||||
<div class="shrink-0 border-t border-slate-100 px-3 py-3">
|
||||
|
||||
+1
-3
@@ -68,8 +68,6 @@ Route::middleware(['auth'])->group(function () {
|
||||
Route::get('/settings', [AccountController::class, 'settings'])->name('account.settings');
|
||||
Route::put('/settings', [AccountController::class, 'updateSettings'])->name('account.settings.update');
|
||||
|
||||
Route::get('/team', [TeamController::class, 'index'])->name('account.team');
|
||||
Route::post('/team', [TeamController::class, 'store'])->name('account.team.store');
|
||||
Route::delete('/team/{member}', [TeamController::class, 'destroy'])->name('account.team.destroy');
|
||||
Route::get('/team', fn () => redirect()->away(ladill_account_url('/account/team')))->name('account.team');
|
||||
Route::post('/switch-account', [TeamController::class, 'switchAccount'])->name('account.switch');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user