Update SearchController

This commit is contained in:
Daniel Supernault 2019-02-22 13:50:52 -07:00
parent b3c4409dcf
commit b80f6daac7
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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');
}
}