From fd894fb030d60afcffb8247821953860456a65ed Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Wed, 18 Jan 2012 17:48:57 +0400 Subject: [PATCH] SONAR-3179 Fix mistake --- .../src/main/webapp/WEB-INF/app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 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 8d1767f46e8..4bdd5be00ab 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 @@ -41,7 +41,7 @@ module ApplicationHelper def qualifier_icon(object) qualifier=(object.respond_to?('qualifier') ? object.qualifier : object.to_s) if qualifier - defintion = Java::OrgSonarServerUi::JRubyFacade.getInstance().getResourceDefinition(qualifier) + definition = Java::OrgSonarServerUi::JRubyFacade.getInstance().getResourceDefinition(qualifier) image_tag(definition.getIconPath(), :alt => message(definition.getName())) else image_tag('e16.gif') -- 2.39.5