Land on account overview and import hosted sites.
Deploy Ladill Hosting / deploy (push) Successful in 25s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user