diff --git a/app/Contact.php b/app/Contact.php index bd4133367..afbabc58e 100644 --- a/app/Contact.php +++ b/app/Contact.php @@ -10,4 +10,9 @@ class Contact extends Model { return $this->belongsTo(User::class); } + + public function adminUrl() + { + return url('/i/admin/contact/show/' . $this->id); + } }