diff --git a/app/Models/VehicleScores.php b/app/Models/VehicleScores.php index d99d45a..b6df6b5 100644 --- a/app/Models/VehicleScores.php +++ b/app/Models/VehicleScores.php @@ -22,7 +22,7 @@ class VehicleScores extends Model public function judge() { - return $this->belongsTo('App\Models\Judges', 'judge', 'id'); + return $this->belongsTo(Judges::class, 'judge'); } public function scoredVehicle()