summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_db.hrl
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-07-10 00:59:36 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-07-10 00:59:36 +0000
commit9ccb235a2d58d6b7caf406952f18ca13d9889f3e (patch)
tree9a0f6ac06d91d6bd70aee5d6f921665423139653 /src/couchdb/couch_db.hrl
parent2f18f60fea5a1de6a221c6124038399c47d42aa2 (diff)
Apply patch from Benoit Chesneau's COUCHDB-404
Restores 0.8-style /db/_view view urls and adds an option to render views and documents as other formats like: /db/docid?show=blog/post /db/_view/blog/posts?list=index We're retaining the longer _design/appname paths as well because that resource is valuable for reverse proxies and rewriters. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@792771 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_db.hrl')
-rw-r--r--src/couchdb/couch_db.hrl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/couchdb/couch_db.hrl b/src/couchdb/couch_db.hrl
index abb301eb..f74d0ae0 100644
--- a/src/couchdb/couch_db.hrl
+++ b/src/couchdb/couch_db.hrl
@@ -167,7 +167,8 @@
include_docs = false,
stale = false,
multi_get = false,
- callback = nil
+ callback = nil,
+ list = nil
}).
-record(view_fold_helper_funs, {