1
0
Fork 0

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
1 changed files with 9 additions and 0 deletions

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