From fcbfc8229f0dd5b94e53b68e04d04d4f9535f976 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Mon, 16 Sep 2013 12:50:41 +0200 Subject: [PATCH] SONAR-4657 It's impossible to fully delete the extension of a rule description (cherry picked from commit a1e2e6d) --- .../WEB-INF/app/controllers/rules_configuration_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb index 2055707abc3..76bb20df4ea 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb @@ -336,7 +336,7 @@ class RulesConfigurationController < ApplicationController def update_rule_note verify_post_request access_denied unless has_role?(:profileadmin) - require_parameters :rule_id, :text + require_parameters :rule_id rule = Rule.find(params[:rule_id]) note = rule.note unless note -- 2.39.5