/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $data['inventory'] = inventory::all(); return view('inventory.list', $data); }