Ejemplo n.º 1
0
 public function ajax_objetivos()
 {
     if (Request::ajax()) {
         $input = Input::get('destID');
         $objetivo = Objetivo::where('destID', '=', $input)->get();
         return Response::json($objetivo, 200);
     }
 }