From e9f75f13379f21428d4270695e1ad5590c2d8150 Mon Sep 17 00:00:00 2001 From: shahrzad011 Date: Sun, 16 Aug 2026 08:12:10 +0330 Subject: [PATCH] feat: prepare core Laravel configuration and tour model --- app/Models/Tour.php | 1 + bootstrap/app.php | 1 + config/auth.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Models/Tour.php b/app/Models/Tour.php index e965f83..28dcd21 100644 --- a/app/Models/Tour.php +++ b/app/Models/Tour.php @@ -80,6 +80,7 @@ class Tour extends Model public function favorites() { return $this->morphMany(Favorite::class, 'favoritable'); + } public function files() diff --git a/bootstrap/app.php b/bootstrap/app.php index d6d4924..59453f9 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -40,3 +40,4 @@ return Application::configure(basePath: dirname(__DIR__)) // })->create(); + diff --git a/config/auth.php b/config/auth.php index 4995b37..c87ceb5 100644 --- a/config/auth.php +++ b/config/auth.php @@ -72,7 +72,7 @@ return [ ], 'admin' => [ 'driver' => 'eloquent', - 'model' =>\App\Models\Admin::class, + 'model' => \App\Models\Admin::class, ], // 'users' => [