]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4657 It's impossible to fully delete the extension of a rule description
authorJulien Lancelot <julien.lancelot@gmail.com>
Mon, 16 Sep 2013 10:50:41 +0000 (12:50 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Mon, 16 Sep 2013 10:51:25 +0000 (12:51 +0200)
(cherry picked from commit a1e2e6d)

sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb

index 2055707abc3ad7ac0fda6e0cf0963860bc35dd0a..76bb20df4ea10b3f7f8a8b4e536ba65ec2beb6f9 100644 (file)
@@ -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