Skip to content

Commit 809b28f

Browse files
committed
Define route files in bootstrap/app.php
1 parent 5dc59ff commit 809b28f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

bootstrap/app.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88

99
return Application::configure(basePath: dirname(__DIR__))
1010
->withRouting(
11-
web: __DIR__.'/../routes/web.php',
11+
web: [
12+
__DIR__.'/../routes/web.php',
13+
__DIR__.'/../routes/settings.php',
14+
__DIR__.'/../routes/auth.php',
15+
],
1216
commands: __DIR__.'/../routes/console.php',
1317
health: '/up',
1418
)

routes/web.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,3 @@
1212
return Inertia::render('dashboard');
1313
})->name('dashboard');
1414
});
15-
16-
require __DIR__.'/settings.php';
17-
require __DIR__.'/auth.php';

0 commit comments

Comments
 (0)