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' => [