1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 16:53:17 +00:00

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); return response()->json($tokens);
} }
public function results(Request $request)
{
$this->validate($request, [
'q' => 'required|string|min:1',
]);
return view('search.results');
}
} }