1
0
Эх сурвалжийг харах

Update ReportComment model

Daniel Supernault 6 жил өмнө
parent
commit
828fea1612
1 өөрчлөгдсөн 4 нэмэгдсэн , 1 устгасан
  1. 4 1
      app/ReportComment.php

+ 4 - 1
app/ReportComment.php

@@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model;
 
 class ReportComment extends Model
 {
-    //
+	public function profile()
+	{
+		return $this->belongsTo(Profile::class);
+	}
 }