Add live topbar search for hosting accounts and sites.
Deploy Ladill Hosting / deploy (push) Successful in 20s
Deploy Ladill Hosting / deploy (push) Successful in 20s
Wire a JSON /search endpoint and Alpine dropdown so customers can find accounts, linked domains, and orders from the hosting app header. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -9,6 +9,7 @@ use App\Http\Controllers\Hosting\HostingPanelController;
|
||||
use App\Http\Controllers\Hosting\HostingProductController;
|
||||
use App\Http\Controllers\Hosting\HostingTerminalSessionController;
|
||||
use App\Http\Controllers\Hosting\OverviewController;
|
||||
use App\Http\Controllers\Hosting\SearchController;
|
||||
use App\Http\Controllers\Hosting\TeamController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
@@ -28,6 +29,7 @@ Route::get('/sso/logout-frontchannel', [SsoLoginController::class, 'frontchannel
|
||||
Route::get('/signed-out', fn () => auth()->check() ? redirect()->route('hosting.dashboard') : view('hosting.signed-out'))->name('hosting.signed-out');
|
||||
|
||||
Route::middleware(['auth'])->group(function () use ($serversApp) {
|
||||
Route::get('/search', SearchController::class)->name('hosting.search');
|
||||
Route::get('/dashboard', [OverviewController::class, 'index'])->name('hosting.dashboard');
|
||||
|
||||
Route::redirect('/hosting', '/dashboard')->name('hosting.index');
|
||||
|
||||
Reference in New Issue
Block a user