couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject git commit: updated refs/heads/master to 89e4c02
Date Mon, 09 Sep 2013 20:55:17 GMT
Updated Branches:
  refs/heads/master e0e385838 -> 89e4c029b


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/master
Commit: 89e4c029b1f986741e5646d0d17f2115026b9b45
Parents: e0e3858
Author: suelockwood <deathbearbrown@gmail.com>
Authored: Mon Sep 9 16:55:08 2013 -0400
Committer: suelockwood <deathbearbrown@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"
     },


Mime
View raw message