summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarren Smith <garren.smith@gmail.com>2014-01-15 17:32:52 +0200
committerGarren Smith <garren.smith@gmail.com>2014-01-15 17:32:52 +0200
commit678d034a8ebe144c961467b8d25018a897e3494b (patch)
treede95c4f5ea85f99c9f24721ad329c6b43ef176a9
parentad3edf811182045b69d5e400be34b1f0133e3e3e (diff)
downloadcouchdb-678d034a8ebe144c961467b8d25018a897e3494b.tar.gz
Fauxton: update api bar with view query updates
-rw-r--r--src/fauxton/app/addons/documents/routes.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fauxton/app/addons/documents/routes.js b/src/fauxton/app/addons/documents/routes.js
index 6786edfbc..1510485ee 100644
--- a/src/fauxton/app/addons/documents/routes.js
+++ b/src/fauxton/app/addons/documents/routes.js
@@ -304,6 +304,7 @@ function(app, FauxtonAPI, Documents, Databases) {
this.documentsView = this.setView("#dashboard-lower-content", new Documents.Views.AllDocsList({
collection: this.data.database.allDocs
}));
+ //this.apiUrl = [this.data.database.allDocs.url("apiurl"), this.data.database.allDocs.documentation() ];
return;
}
@@ -320,6 +321,8 @@ function(app, FauxtonAPI, Documents, Databases) {
nestedView: Documents.Views.Row,
viewList: true
}));
+
+ this.apiUrl = [this.data.indexedDocs.url("apiurl"), "docs"];
},
updateAllDocsFromPreview: function (event) {