mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update Contact model
This commit is contained in:
parent
12cb57dbd0
commit
fd6a4526ee
1 changed files with 5 additions and 0 deletions
|
@ -10,4 +10,9 @@ class Contact extends Model
|
|||
{
|
||||
return $this->belongsTo(User::class);
|
||||
}
|
||||
|
||||
public function adminUrl()
|
||||
{
|
||||
return url('/i/admin/contact/show/' . $this->id);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue