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

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);
}
}