diff options
author | suelockwood <deathbearbrown@gmail.com> | 2013-09-09 16:55:08 -0400 |
---|---|---|
committer | suelockwood <deathbearbrown@gmail.com> | 2013-09-09 16:55:08 -0400 |
commit | 89e4c029b1f986741e5646d0d17f2115026b9b45 (patch) | |
tree | 358f0c6f12770274e89f1ab39152b02354a0dfd3 | |
parent | e0e385838e562111c0c9b41cfc2649b1a52e92f8 (diff) | |
download | couchdb-89e4c029b1f986741e5646d0d17f2115026b9b45.tar.gz |
Creating a new doc lost it's breadcrumb
-rw-r--r-- | src/fauxton/app/modules/documents/routes.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/fauxton/app/modules/documents/routes.js b/src/fauxton/app/modules/documents/routes.js index 23ebc1e16..81c4d23ad 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" }, |