Add new method to Status model

pull/9/head
Daniel Supernault 2018-04-18 23:57:24 -06:00
rodzic fe70cd1eca
commit d391b1a2a6
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -42,4 +42,9 @@ class Status extends Model
return $this->hasMany(Like::class);
}
public function comments()
{
return $this->hasMany(Comment::class);
}
}