diff options
author | suelockwood <deathbear@apache.org> | 2014-01-13 15:58:35 -0500 |
---|---|---|
committer | suelockwood <deathbear@apache.org> | 2014-01-13 15:58:35 -0500 |
commit | afd66a9ceed5af91b2db48f80b3fcf9e7fc04f3e (patch) | |
tree | 3008015eeaa5f2a7034995e1b75c8917a4d00624 | |
parent | 61d061771adbfd8d3023e38a46225dea46701e3c (diff) | |
download | couchdb-afd66a9ceed5af91b2db48f80b3fcf9e7fc04f3e.tar.gz |
Fix Permissions model url
-rw-r--r-- | src/fauxton/app/addons/permissions/resources.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fauxton/app/addons/permissions/resources.js b/src/fauxton/app/addons/permissions/resources.js index 8acaddd00..4ddd3ae10 100644 --- a/src/fauxton/app/addons/permissions/resources.js +++ b/src/fauxton/app/addons/permissions/resources.js @@ -39,7 +39,7 @@ function (app, FauxtonAPI ) { }, url: function () { - return app.host + this.database.id + '/_security'; + return window.location.origin +"/"+ this.database.safeID() + '/_security'; }, addItem: function (value, type, section) { |