Update Place model, add name method

pull/2459/head
Daniel Supernault 4 years ago
parent 576cc82ec5
commit 9d1499eeb9
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -40,4 +40,9 @@ class Place extends Model
{
return $this->url();
}
public function getName()
{
return $this->name . ', ' . $this->country;
}
}

Loading…
Cancel
Save