From: Simon Brandhof Date: Mon, 8 Aug 2011 10:03:26 +0000 (+0200) Subject: Change comment in ruby API X-Git-Tag: 2.10~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6fc44fc8c736f720305752097cf0690fc48551a8;p=sonarqube.git Change comment in ruby API --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb index 935a7231d33..81df96f4895 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb @@ -434,9 +434,10 @@ module ApplicationHelper # === Examples # trend_icon('ncloc') # trend_icon(measure('ncloc')) - # trend_icon('ncloc', :big => true, :empty => true) + # trend_icon('ncloc', :empty => true) # def trend_icon(metric_or_measure, options={}) + m=nil if metric_or_measure.is_a? ProjectMeasure m = metric_or_measure elsif @snapshot