new correction

This commit is contained in:
Fateme
2020-07-04 23:26:44 +04:30
parent a74e49af6f
commit 1f1be72d74
21 changed files with 161 additions and 107 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class TestResult extends Model
{
return $this->hasMany('App\InputValue');
}
public function images()
public function files()
{
return $this->morphMany('App\Media', 'model');
}