/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $lists = Inventory::paginate(10); return view('inventory.index', compact('lists')); }