mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +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