You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2013/09/10 16:03:55 UTC

[09/14] git commit: updated refs/heads/index-pagination to db85b98

Creating a new doc lost it's breadcrumb


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

Branch: refs/heads/index-pagination
Commit: 89e4c029b1f986741e5646d0d17f2115026b9b45
Parents: e0e3858
Author: suelockwood <de...@gmail.com>
Authored: Mon Sep 9 16:55:08 2013 -0400
Committer: suelockwood <de...@gmail.com>
Committed: Mon Sep 9 16:55:08 2013 -0400

----------------------------------------------------------------------
 src/fauxton/app/modules/documents/routes.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/89e4c029/src/fauxton/app/modules/documents/routes.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/modules/documents/routes.js b/src/fauxton/app/modules/documents/routes.js
index 23ebc1e..81c4d23 100644
--- a/src/fauxton/app/modules/documents/routes.js
+++ b/src/fauxton/app/modules/documents/routes.js
@@ -129,7 +129,13 @@ function(app, FauxtonAPI, Documents, Databases) {
       }));
 
     },
-
+    crumbs: function() {
+      return [
+        {"name": "Databases", "link": "/_all_dbs"},
+        {"name": this.database.id, "link": Databases.databaseUrl(this.database)},
+        {"name": "New", "link": "#"}
+      ];
+    },
     routes: {
       "database/:database/new": "code_editor"
     },