Populated Content
This commit is contained in:
1 parent
5ad54abff2
commit
f0e7ce30fc
177 files changed
+1859
-5463
No files matched your search
+6
-5
@@ -1,15 +1,16 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Continent;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Inertia\Inertia;
|
||||
|
||||
Route::get('/', function () {
|
||||
return Inertia::render('Welcome');
|
||||
})->name('home');
|
||||
$continent = Continent::first();
|
||||
|
||||
Route::get('dashboard', function () {
|
||||
return Inertia::render('Dashboard');
|
||||
})->middleware(['auth', 'verified'])->name('dashboard');
|
||||
return Inertia::render('Home',[
|
||||
'continent' => $continent,
|
||||
]);
|
||||
})->name('home');
|
||||
|
||||
require __DIR__.'/settings.php';
|
||||
require __DIR__.'/auth.php';
|
||||
Reference in new issue
Block a user