Ejemplo n.º 1
0
 /**
  * GHet user by ID
  *
  *	params where string
  *
  * @return Response
  */
 public function index()
 {
     $where = \Input::get('where');
     if (!empty($where)) {
         return \App\Room::whereRaw($where)->get();
     } else {
         return \App\Room::get();
     }
 }