From 6fc44fc8c736f720305752097cf0690fc48551a8 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 8 Aug 2011 12:03:26 +0200 Subject: [PATCH] Change comment in ruby API --- .../src/main/webapp/WEB-INF/app/helpers/application_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5