summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Branca <chewbranca@gmail.com>2013-02-06 11:17:15 -0800
committerRussell Branca <chewbranca@gmail.com>2013-03-15 14:35:13 -0700
commit265047c2bb04eed9989c8aef6accae7823e56626 (patch)
tree4f17ef65278bd3e7e07aa51fc3a22273805837ae
parente036672159c1f89a975680c6d211d8da13831ab1 (diff)
downloadcouchdb-265047c2bb04eed9989c8aef6accae7823e56626.tar.gz
Quick fix for tabs and the change in expected data structure
-rw-r--r--src/fauxton/app/modules/documents/routes.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fauxton/app/modules/documents/routes.js b/src/fauxton/app/modules/documents/routes.js
index 5e5838de2..801fa607d 100644
--- a/src/fauxton/app/modules/documents/routes.js
+++ b/src/fauxton/app/modules/documents/routes.js
@@ -99,7 +99,7 @@ function(app, FauxtonAPI, Documents, Databases) {
"#tabs": new Documents.Views.Tabs({
collection: data.designDocs,
- database: data.database.id
+ database: data.database
}),
"#dashboard-content": new Documents.Views.ViewEditor({
@@ -401,7 +401,7 @@ function(app, FauxtonAPI, Documents, Databases) {
"#tabs": new Documents.Views.Tabs({
collection: data.designDocs,
- database: data.database.id
+ database: data.database
})
},