diff options
author | Garren Smith <garren.smith@gmail.com> | 2014-01-15 17:32:52 +0200 |
---|---|---|
committer | Garren Smith <garren.smith@gmail.com> | 2014-01-15 17:32:52 +0200 |
commit | 678d034a8ebe144c961467b8d25018a897e3494b (patch) | |
tree | de95c4f5ea85f99c9f24721ad329c6b43ef176a9 | |
parent | ad3edf811182045b69d5e400be34b1f0133e3e3e (diff) | |
download | couchdb-678d034a8ebe144c961467b8d25018a897e3494b.tar.gz |
Fauxton: update api bar with view query updates
-rw-r--r-- | src/fauxton/app/addons/documents/routes.js | 3 |
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) { |