]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3179 Fix mistake
authorEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 18 Jan 2012 13:48:57 +0000 (17:48 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 18 Jan 2012 13:48:57 +0000 (17:48 +0400)
sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb

index 8d1767f46e8f05f789b6115e8ff60a9be1908349..4bdd5be00abfce4aaf226835f214df6a3c6dfd7b 100644 (file)
@@ -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')