public function index($registros = 5) { $datos = Hotel::paginate($registros); $hotels = Hotel::all(); return View::make('hotel.index', compact("datos"), array('hotels' => $hotels)); }