1
0
Fork 0

Update Contact model

This commit is contained in:
Daniel Supernault 2019-06-06 21:13:32 -06:00
parent 12cb57dbd0
commit fd6a4526ee
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 5 additions and 0 deletions

View File

@ -10,4 +10,9 @@ class Contact extends Model
{
return $this->belongsTo(User::class);
}
public function adminUrl()
{
return url('/i/admin/contact/show/' . $this->id);
}
}