mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update Place model, add name method
This commit is contained in:
parent
576cc82ec5
commit
9d1499eeb9
1 changed files with 5 additions and 0 deletions
|
@ -40,4 +40,9 @@ class Place extends Model
|
|||
{
|
||||
return $this->url();
|
||||
}
|
||||
|
||||
public function getName()
|
||||
{
|
||||
return $this->name . ', ' . $this->country;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue