From fd6a4526ee93c1abbf7d198aa536d05c21750145 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 6 Jun 2019 21:13:32 -0600 Subject: [PATCH] Update Contact model --- app/Contact.php | 5 +++++ 1 file changed, 5 insertions(+) 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); + } }