aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/groups/group.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/groups/group.js')
-rw-r--r--server/sonar-web/src/main/js/apps/groups/group.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/groups/group.js b/server/sonar-web/src/main/js/apps/groups/group.js
index 5d7807b51d2..aced6727b91 100644
--- a/server/sonar-web/src/main/js/apps/groups/group.js
+++ b/server/sonar-web/src/main/js/apps/groups/group.js
@@ -1,10 +1,8 @@
-define([
- 'backbone'
-], function (Backbone) {
+define(function () {
return Backbone.Model.extend({
urlRoot: function () {
- return window.baseUrl + '/api/usergroups';
+ return baseUrl + '/api/usergroups';
},
sync: function (method, model, options) {