You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by de...@apache.org on 2014/08/04 15:10:44 UTC

[4/9] fauxton commit: updated refs/heads/secondary-indexes to bcc6dc2

Fix link for new design doc


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

Branch: refs/heads/secondary-indexes
Commit: b58f613b1ba515bcdcae1c294d6450f6f65f3b9e
Parents: ca7843b
Author: Robert Kowalski <ro...@kowalski.gd>
Authored: Thu Jul 31 20:21:00 2014 +0200
Committer: Robert Kowalski <ro...@kowalski.gd>
Committed: Thu Jul 31 20:21:00 2014 +0200

----------------------------------------------------------------------
 app/addons/documents/views-sidebar.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b58f613b/app/addons/documents/views-sidebar.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/views-sidebar.js b/app/addons/documents/views-sidebar.js
index e3cc629..8699417 100644
--- a/app/addons/documents/views-sidebar.js
+++ b/app/addons/documents/views-sidebar.js
@@ -68,17 +68,17 @@ function(app, FauxtonAPI, Components, Documents, Databases) {
       );
 
       var database = this.collection.database,
-          newurl = "#" + database.url('app') + '/new';
+          newurlPrefix = "#" + database.url('app');
 
       var newLinks = [{
         title: 'Add new',
         links: [{
           title: 'New Doc',
-          url: newurl,
+          url: newurlPrefix + '/new',
           icon: 'fonticon-plus-circled'
         },{
           title: 'New Design Doc',
-          url: newurl,
+          url: newurlPrefix + '/new_view',
           icon: 'fonticon-plus-circled'
         }]
       }];