aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2017-03-30 14:09:03 +0200
committerStas Vilchik <stas-vilchik@users.noreply.github.com>2017-04-03 10:38:52 +0200
commit2c890d852dd6c355a64679e1d603c17bfac29bc5 (patch)
tree541bf0a796a10944ecf5ce72f719edc2d0321cff /server/sonar-web/src/main/js/helpers
parent0f56fb56a40c1ee72f68dd170b12202e690086d9 (diff)
downloadsonarqube-2c890d852dd6c355a64679e1d603c17bfac29bc5.tar.gz
sonarqube-2c890d852dd6c355a64679e1d603c17bfac29bc5.zip
SONAR-8927 Change format of quality profile permalinks
Diffstat (limited to 'server/sonar-web/src/main/js/helpers')
-rw-r--r--server/sonar-web/src/main/js/helpers/urls.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/helpers/urls.js b/server/sonar-web/src/main/js/helpers/urls.js
index 1464e336fb7..1d4097f95c7 100644
--- a/server/sonar-web/src/main/js/helpers/urls.js
+++ b/server/sonar-web/src/main/js/helpers/urls.js
@@ -91,11 +91,9 @@ export function getComponentPermissionsUrl(componentKey) {
/**
* Generate URL for a quality profile
- * @param {string} key
- * @returns {Object}
*/
-export function getQualityProfileUrl(key, organization) {
- return getProfilePath(key, organization);
+export function getQualityProfileUrl(name, language, organization) {
+ return getProfilePath(name, language, organization);
}
/**