aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/js/common
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-server/src/main/js/common')
-rw-r--r--sonar-server/src/main/js/common/handlebars-extensions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/js/common/handlebars-extensions.js b/sonar-server/src/main/js/common/handlebars-extensions.js
index b0fc9ccb818..93dcc343076 100644
--- a/sonar-server/src/main/js/common/handlebars-extensions.js
+++ b/sonar-server/src/main/js/common/handlebars-extensions.js
@@ -181,7 +181,7 @@ define(['handlebars', 'moment'], function (Handlebars, moment) {
});
Handlebars.registerHelper('dashboardUrl', function(componentKey, componentQualifier) {
- var url = '/dashboard/index/' + decodeURIComponent(componentKey);
+ var url = baseUrl + '/dashboard/index/' + decodeURIComponent(componentKey);
if (componentQualifier === 'FIL' || componentQualifier === 'CLA') {
url += '?metric=sqale_index';
}