Fauxton: Inject database into view

it's handled in the options and used, but was never passed


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

Branch: refs/heads/1.6.x
Commit: f5a25eaa416f263ddefbba40318293dc819fd6c8
Parents: 705711e
Author: Robert Kowalski <[email protected]>
Authored: Fri May 2 21:33:46 2014 +0200
Committer: Robert Kowalski <[email protected]>
Committed: Sat May 31 19:56:04 2014 +0200

----------------------------------------------------------------------
 src/fauxton/app/addons/documents/routes.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/f5a25eaa/src/fauxton/app/addons/documents/routes.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/documents/routes.js 
b/src/fauxton/app/addons/documents/routes.js
index 8f163a7..a24a3bd 100644
--- a/src/fauxton/app/addons/documents/routes.js
+++ b/src/fauxton/app/addons/documents/routes.js
@@ -221,6 +221,7 @@ function(app, FauxtonAPI, Documents, Databases) {
       }));
 
       this.documentsView = this.setView("#dashboard-lower-content", new 
Documents.Views.AllDocsList({
+        database: this.data.database,
         collection: this.data.database.allDocs,
         docParams: docParams,
         params: urlParams

Reply via email to