示例#1
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index(Request $request)
 {
     $request->flash();
     $items = Item::search($request);
     return view('item.index', compact('items'));
 }