From: Evgeny Mandrikov Date: Wed, 18 Jan 2012 13:48:57 +0000 (+0400) Subject: SONAR-3179 Fix mistake X-Git-Tag: 2.14~285 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fd894fb030d60afcffb8247821953860456a65ed;p=sonarqube.git SONAR-3179 Fix mistake --- 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')