]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-1843 The webservice /api/properties fails when requested format is XML
authorsimonbrandhof <simon.brandhof@gmail.com>
Fri, 8 Oct 2010 16:41:13 +0000 (16:41 +0000)
committersimonbrandhof <simon.brandhof@gmail.com>
Fri, 8 Oct 2010 16:41:13 +0000 (16:41 +0000)
sonar-server/src/main/webapp/WEB-INF/app/controllers/api/properties_controller.rb

index 2da181c18d90aa0e35178a11d38f68a8b68e0399..dafcc01e8990873ef1733a867735945bdcf9d442 100644 (file)
@@ -100,7 +100,7 @@ class Api::PropertiesController < Api::RestController
     xml.instruct!\r
     xml.properties do\r
       properties.each do |property|\r
-        xml << property.to_xml\r
+        property.to_xml(xml)\r
       end\r
     end\r
   end\r