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() {