Populated Content

This commit is contained in:
2025-09-15 11:44:26 +10:00
parent 5ad54abff2
commit f0e7ce30fc
177 changed files with 1859 additions and 5463 deletions

View File

@@ -2,7 +2,9 @@
namespace App\Providers;
use App\Models\Continent;
use Illuminate\Support\ServiceProvider;
use Inertia\Inertia;
class AppServiceProvider extends ServiceProvider
{
@@ -19,6 +21,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot(): void
{
//
Inertia::share([
'continents_with_tours' => fn() => Continent::allContinentsWithTours(),
]);
}
}