Repository: couchdb
Updated Branches:
  refs/heads/2201-fix-new-view e697b330b -> 695e216d2


assign design doc correctly


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

Branch: refs/heads/2201-fix-new-view
Commit: 695e216d230bc9075c8954d7038ce229d644aa2e
Parents: e697b33
Author: Garren Smith <[email protected]>
Authored: Thu Mar 13 12:06:55 2014 -0400
Committer: Garren Smith <[email protected]>
Committed: Thu Mar 13 12:06:55 2014 -0400

----------------------------------------------------------------------
 src/fauxton/app/addons/documents/routes.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/695e216d/src/fauxton/app/addons/documents/routes.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/documents/routes.js 
b/src/fauxton/app/addons/documents/routes.js
index 67589d4..c7730df 100644
--- a/src/fauxton/app/addons/documents/routes.js
+++ b/src/fauxton/app/addons/documents/routes.js
@@ -294,7 +294,7 @@ function(app, FauxtonAPI, Documents, Databases) {
 
     createViewDocumentsView: function (designDoc, docParams, urlParams, 
database, indexedDocs, designDocs) {
        var ddocInfo = {
-        id: "_design/" + designDocs,
+        id: "_design/" + designDoc,
         currView: view,
         designDocs: this.data.designDocs
       };

Reply via email to