Jelajahi Sumber

Update ReportComment model

Daniel Supernault 6 tahun lalu
induk
melakukan
828fea1612
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 4 1
      app/ReportComment.php

+ 4 - 1
app/ReportComment.php

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