aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server/src')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb
index c64a12f17bf..51d6df0a5fa 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb
@@ -21,7 +21,7 @@ class Rule < ActiveRecord::Base
MANUAL_REPOSITORY_KEY = 'manual'
- validates_presence_of :name, :plugin_name
+ validates_presence_of :name, :description, :plugin_name
validates_presence_of :plugin_rule_key, :if => 'name.present?'
has_many :rules_parameters