mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Update SearchController
This commit is contained in:
parent
b3c4409dcf
commit
b80f6daac7
1 changed files with 9 additions and 0 deletions
|
@ -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');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue