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]); } /**