kopia lustrzana https://github.com/pixelfed/pixelfed
Add new method to Status model
rodzic
fe70cd1eca
commit
d391b1a2a6
|
@ -42,4 +42,9 @@ class Status extends Model
|
|||
return $this->hasMany(Like::class);
|
||||
}
|
||||
|
||||
public function comments()
|
||||
{
|
||||
return $this->hasMany(Comment::class);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue