/** * Display a listing of the resource. * * @return Response */ public function index() { try { return Documento::all(); } catch (Exception $exc) { echo $exc->getTraceAsString(); } }