summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-03-15 16:05:08 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-03-15 16:25:42 +0100
commit73a5f721a6b3a56bf1b7edc1f3e69350138e113b (patch)
tree02081adbb15d87cdb865d00dcd9f23b1de82afb9 /sonar-server
parent6962e9a418086ddbf0cd06cbfa78ae3d980c62e3 (diff)
downloadsonarqube-73a5f721a6b3a56bf1b7edc1f3e69350138e113b.tar.gz
sonarqube-73a5f721a6b3a56bf1b7edc1f3e69350138e113b.zip
SONAR-2230 Add Java client for the web service "profiles"
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/controllers/api/profiles_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/profiles_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/profiles_controller.rb
index 11a267f58a7..366369af5c9 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/profiles_controller.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/profiles_controller.rb
@@ -100,7 +100,7 @@ class Api::ProfilesController < Api::ApiController
alerts<<alert_hash
end
result[:alerts]=alerts unless alerts.empty?
- result
+ [result]
end
def to_xml