| Total Complexity | 1 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class SearchController extends Controller |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Show the Status Page. |
||
| 12 | * |
||
| 13 | * @return Response |
||
|
|
|||
| 14 | */ |
||
| 15 | public function __invoke(Request $request) |
||
| 16 | { |
||
| 17 | return view('search.index', [ |
||
| 18 | 'page_title' => "Search", |
||
| 19 | 'site_title' => config("app.name"), |
||
| 20 | 'navigation' => null, |
||
| 21 | 'search_key' => $request->input('q'), |
||
| 22 | 'search_category' => $request->input('tab','problems'), |
||
| 23 | 'page' => $request->input('page',1) |
||
| 24 | ]); |
||
| 27 |