From f61f67d0bc0c6660409759217ddcce5486ba1d35 Mon Sep 17 00:00:00 2001 From: Neerholt Date: Mon, 29 Jun 2020 12:36:07 +0200 Subject: [PATCH] slette s --- skolehjem/app/Http/Controllers/ContactController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skolehjem/app/Http/Controllers/ContactController.php b/skolehjem/app/Http/Controllers/ContactController.php index 3792500..2fb0e54 100644 --- a/skolehjem/app/Http/Controllers/ContactController.php +++ b/skolehjem/app/Http/Controllers/ContactController.php @@ -73,8 +73,8 @@ class ContactController extends Controller */ public function edit($id) { - $contacts = Contact::find($id); - return Response::detect("contacts.edit", ["contact" => $contacts]); + $contact = Contact::find($id); + return Response::detect("contacts.edit", ["contact" => $contact]); } /**