From bb421f3dbc4531fa3c88d7d96cb37737d037f153 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Fri, 19 Jun 2026 10:04:14 +0000 Subject: [PATCH] Fix corrupted profileMenuItems in layouts after menu propagation. Remove orphaned array entries that caused Blade parse errors and 500 responses on authenticated pages. Co-authored-by: Cursor --- resources/views/layouts/email.blade.php | 6 ------ resources/views/layouts/hosting.blade.php | 6 ------ 2 files changed, 12 deletions(-) diff --git a/resources/views/layouts/email.blade.php b/resources/views/layouts/email.blade.php index 6c9e347..0a24b21 100644 --- a/resources/views/layouts/email.blade.php +++ b/resources/views/layouts/email.blade.php @@ -47,12 +47,6 @@ 'profileName' => $navUser?->name ?? '', 'profileSubtitle' => $navUser?->email ?? '', 'profileMenuItems' => \App\Support\UserProfileMenu::items($navUser), - ['type' => 'link', 'label' => 'Profile', 'href' => ladill_account_url('profile')], - ['type' => 'link', 'label' => 'Account Settings', 'href' => ladill_account_url('account-settings')], - ['type' => 'link', 'label' => 'Dashboard', 'href' => route('email.dashboard')], - ['type' => 'link', 'label' => 'Billing', 'href' => ladill_account_url('billing')], - ['type' => 'logout', 'label' => 'Logout', 'action' => route('logout')], - ], 'avatarUrl' => $navUser?->avatar_url, 'initials' => $navInitials !== '' ? $navInitials : 'U', ]) diff --git a/resources/views/layouts/hosting.blade.php b/resources/views/layouts/hosting.blade.php index d300308..253e8b3 100644 --- a/resources/views/layouts/hosting.blade.php +++ b/resources/views/layouts/hosting.blade.php @@ -46,12 +46,6 @@ 'profileName' => $navUser?->name ?? '', 'profileSubtitle' => $navUser?->email ?? '', 'profileMenuItems' => \App\Support\UserProfileMenu::items($navUser), - ['type' => 'link', 'label' => 'Profile', 'href' => ladill_account_url('profile')], - ['type' => 'link', 'label' => 'Account Settings', 'href' => ladill_account_url('account-settings')], - ['type' => 'link', 'label' => 'Dashboard', 'href' => route('hosting.dashboard')], - ['type' => 'link', 'label' => 'Billing', 'href' => ladill_account_url('billing')], - ['type' => 'logout', 'label' => 'Logout', 'action' => route('logout')], - ], 'avatarUrl' => $navUser?->avatar_url, 'initials' => $navInitials !== '' ? $navInitials : 'U', ])