public function comments()
 {
     return Comment::allBy('thread_id', $this->id);
 }
Beispiel #2
0
 public function comments()
 {
     $result = Comment::allBy('id', $this->id);
     return $result;
 }