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