forked from mirror/pixelfed
Update SearchController
This commit is contained in:
parent
b3c4409dcf
commit
b80f6daac7
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue