Skip to content

Commit

Permalink
Fauxton: update api bar with view query updates
Browse files Browse the repository at this point in the history
  • Loading branch information
garrensmith committed Jan 15, 2014
1 parent ad3edf8 commit 678d034
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/fauxton/app/addons/documents/routes.js
Expand Up @@ -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;
}

Expand All @@ -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) {
Expand Down

0 comments on commit 678d034

Please sign in to comment.