diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2011-09-15 10:56:39 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2011-09-15 10:56:39 +0200 |
commit | ebb9325079c73ecdd22386bc198e05c27e77eb4f (patch) | |
tree | 1b51158960c32140e93fad59e8a13c267a0c428a /sonar-server | |
parent | 98c747197edd93d800154459cf6596f7eafe0f32 (diff) | |
download | sonarqube-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.rb | 2 |
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 |