mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 07:42:41 +00:00
Add new method to Status model
This commit is contained in:
parent
fe70cd1eca
commit
d391b1a2a6
1 changed files with 5 additions and 0 deletions
|
@ -42,4 +42,9 @@ class Status extends Model
|
|||
return $this->hasMany(Like::class);
|
||||
}
|
||||
|
||||
public function comments()
|
||||
{
|
||||
return $this->hasMany(Comment::class);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue