couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [15/52] [abbrv] fauxton commit: updated refs/heads/import-master to d11b90b
Date Wed, 12 Feb 2014 06:20:09 GMT
Fix Permissions model url


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/fb900498
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/fb900498
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/fb900498

Branch: refs/heads/import-master
Commit: fb9004980558963776f5d1dc43819d24a6c09659
Parents: bfd419b
Author: suelockwood <deathbear@apache.org>
Authored: Mon Jan 13 15:58:35 2014 -0500
Committer: suelockwood <deathbear@apache.org>
Committed: Mon Jan 13 15:58:35 2014 -0500

----------------------------------------------------------------------
 app/addons/permissions/resources.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/fb900498/app/addons/permissions/resources.js
----------------------------------------------------------------------
diff --git a/app/addons/permissions/resources.js b/app/addons/permissions/resources.js
index 8acaddd..4ddd3ae 100644
--- a/app/addons/permissions/resources.js
+++ b/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) {


Mime
View raw message