From c86c067d07e6fb2e1ab6164c9b6345fbd74e02d6 Mon Sep 17 00:00:00 2001 From: Neerholt Date: Mon, 29 Jun 2020 11:39:00 +0200 Subject: [PATCH] added s to the end of contacts --- skolehjem/app/Http/Controllers/ContactController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skolehjem/app/Http/Controllers/ContactController.php b/skolehjem/app/Http/Controllers/ContactController.php index 96cae3e..3e0213f 100644 --- a/skolehjem/app/Http/Controllers/ContactController.php +++ b/skolehjem/app/Http/Controllers/ContactController.php @@ -18,7 +18,7 @@ class ContactController extends Controller $contact = Contact::query()->paginate($request->input("limit", 20)); - return Response::detect("contacts.index", [ "contact" => $contact]); + return Response::detect("contacts.index", [ "contacts" => $contact]); } /**