From 6191923269b43da24361b548ba3916dcdd2eb458 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Mon, 8 Aug 2022 14:55:05 -0400 Subject: [PATCH] category relation --- app/Models/CarShowCategory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/CarShowCategory.php b/app/Models/CarShowCategory.php index 1a851d5..63d9a28 100644 --- a/app/Models/CarShowCategory.php +++ b/app/Models/CarShowCategory.php @@ -25,7 +25,7 @@ class CarShowCategory extends Model public function vehicle() { - return $this->hasMany(App\Models\Vehicles::class, 'type'); + return $this->hasMany(Vehicles::class, 'type'); } public function showWinner() {