Populated Content
This commit is contained in:
1 parent
5ad54abff2
commit
f0e7ce30fc
177 files changed
+1859
-5463
No files matched your search
@@ -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(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user