fix: restore route('home'), remove dashboard Blade route, load iconify in SPA

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ovidiu U
2026-04-10 18:14:58 +01:00
parent 1bfcb84402
commit 6224dedd45
3 changed files with 9 additions and 6 deletions

View File

@@ -2,11 +2,7 @@
use Illuminate\Support\Facades\Route;
Route::middleware(['auth', 'verified'])->group(function (): void {
Route::view('dashboard', 'dashboard')->name('dashboard');
});
require __DIR__.'/settings.php';
// SPA catch-all — must be last
Route::get('/{any}', fn () => view('app'))->where('any', '.*')->name('spa');
Route::get('/{any}', fn () => view('app'))->where('any', '.*')->name('home');