aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-09-01 13:40:25 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-09-01 13:40:25 +0200
commitcb005882b404e49ea7f2a5a9c7f06c3c9f7038b2 (patch)
treebe07864b08c0e5b619b872b149809f334e2d27e7
parent1cbddc7257f081c53619ad15d0d4f58f62d4b4ba (diff)
downloadsonarqube-cb005882b404e49ea7f2a5a9c7f06c3c9f7038b2.tar.gz
sonarqube-cb005882b404e49ea7f2a5a9c7f06c3c9f7038b2.zip
SONAR-5546 fix typo in ruby code
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/views/profiles/changelog.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/profiles/changelog.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/profiles/changelog.html.erb
index e1adef9536b..db0a95e8e50 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/profiles/changelog.html.erb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/profiles/changelog.html.erb
@@ -34,9 +34,9 @@
action = change.action()
action_message = message('quality_profiles.changelog.' + action.downcase) if action
- if change.authorName() && !change.authorName().empty()
+ if change.authorName() && !change.authorName().empty?()
author = change.authorName()
- elsif change.login() && !change.login().empty()
+ elsif change.login() && !change.login().empty?()
author = change.login()
else
author = 'System'