diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-11-28 21:04:38 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-11-28 21:04:38 +0100 |
commit | 35cff4a29be35026b038afcd1767811fac3794c9 (patch) | |
tree | d25e5b611ce1794f9af818817b305cd48794a2c5 /sonar-server/src/main/webapp/WEB-INF/app/models/api/utils.rb | |
parent | be51fc46e6b615295dfa843573932881e8a59f60 (diff) | |
download | sonarqube-35cff4a29be35026b038afcd1767811fac3794c9.tar.gz sonarqube-35cff4a29be35026b038afcd1767811fac3794c9.zip |
Add breadcrumb to profiles console
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF/app/models/api/utils.rb')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/models/api/utils.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/api/utils.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/api/utils.rb index e7419d5d511..b96e859c9ac 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/api/utils.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/api/utils.rb @@ -176,7 +176,8 @@ class Api::Utils end def self.language_name(key) - language(key) ? language(key).name : key + l = language(key) + l ? l.name : key end end |