diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index 4f19a98cb..59cb65ccf 100644 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -121,4 +121,13 @@ class SearchController extends Controller } return response()->json($tokens); } + + public function results(Request $request) + { + $this->validate($request, [ + 'q' => 'required|string|min:1', + ]); + + return view('search.results'); + } }