From feb91563d04a7d088ecf53c4490b7d5d70dac4af Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 24 Jun 2021 11:02:20 +0100 Subject: [PATCH] first iteration of search functionality - likely to fail hard --- app/Http/Controllers/SearchController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index 4e84700..6ff766e 100644 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -84,6 +84,6 @@ class SearchController extends Controller default: $msg = "You fucked up somehow!"; } - return('search.results')->with($results); + return view('search.results')->with('results',$results); } }