Land on account overview and import hosted sites.
Deploy Ladill Hosting / deploy (push) Successful in 25s

Route launcher and home hub entry to the account overview instead of the
control panel, label the sidebar app launcher, and extend hosting:import
to sync hosted_sites with platform_id matching for existing accounts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-06 17:13:46 +00:00
co-authored by Cursor
parent 1e134a8e4b
commit e39a47fa1f
6 changed files with 69 additions and 8 deletions
@@ -76,10 +76,11 @@ class HostingProductController extends Controller
]);
}
// Single account - redirect directly to panel
// Single account — account overview (matches monolith; panel via Control Panel)
if ($allAccounts->count() === 1) {
$account = $allAccounts->first();
return redirect()->route('hosting.panel.index', $account);
return redirect()->route('hosting.accounts.show', $account);
}
// Multiple accounts - show list page