Procházet zdrojové kódy

Update ReportComment model

Daniel Supernault před 6 roky
rodič
revize
828fea1612
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  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);
+	}
 }