We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3f6525 + 9f2c409 commit 614eb5aCopy full SHA for 614eb5a
routes/web.php
@@ -1,14 +1,12 @@
1
<?php
2
3
-use Illuminate\Foundation\Application;
4
use Illuminate\Support\Facades\Route;
5
use Inertia\Inertia;
6
use Laravel\WorkOS\Http\Middleware\ValidateSessionWithWorkOS;
7
8
-Route::get('/', fn () => Inertia::render('welcome', [
9
- 'laravelVersion' => Application::VERSION,
10
- 'phpVersion' => PHP_VERSION,
11
-]));
+Route::get('/', function () {
+ return Inertia::render('welcome');
+})->name('home');
12
13
Route::middleware([
14
'auth',
0 commit comments