aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-09-15 10:56:39 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-09-15 10:56:39 +0200
commitebb9325079c73ecdd22386bc198e05c27e77eb4f (patch)
tree1b51158960c32140e93fad59e8a13c267a0c428a /sonar-server
parent98c747197edd93d800154459cf6596f7eafe0f32 (diff)
downloadsonarqube-ebb9325079c73ecdd22386bc198e05c27e77eb4f.tar.gz
sonarqube-ebb9325079c73ecdd22386bc198e05c27e77eb4f.zip
Fix loading of Java configuration when Ruby on Rails inserts new rows
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/property.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/property.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/property.rb
index f32b9bfc294..196d022d6fb 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/property.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/property.rb
@@ -86,6 +86,6 @@ class Property < ActiveRecord::Base
private
def self.reload_java_configuration
- Java::OrgSonarServerUi::JRubyFacade.new.reloadConfiguration()
+ Java::OrgSonarServerUi::JRubyFacade.getInstance().reloadConfiguration()
end
end