/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $productos = producto::get(); return view('inventario.index')->with('inventario', $productos); }