/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $contactos = Contacto::all(); return view('contactos.index', compact('contactos')); }