public function getCertificaciones() { $certificaciones = Certificacion::orderBy('nombre')->get(); return response()->json($certificaciones)->setCallback(Input::get('callback')); }