Пример #1
0
 /**
  * Display the specified hotel.
  *
  * @param  int  $id
  * @return Response
  */
 public function getShow($id)
 {
     $hotel = Hotel::with('imagens', 'caracteristicas')->find($id);
     $this->addVisita($hotel);
     $similar = Hotel::similares();
     return View::make('hotels.show', compact('hotel'))->nest('similar_listing', 'widgets.similar_listing', array('data' => $similar, 'caminho' => 'uploads/hoteis/'));
 }