summaryrefslogtreecommitdiff
path: root/src/chttpd.erl
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-07-02 10:58:55 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-08-12 11:18:47 -0400
commit04974d382c5b530bacfead74de18770f346352ab (patch)
treeb930c4b789662655d4db3fc988118746b49b2de4 /src/chttpd.erl
parent237b0b07ee225dfee684971a6cb4d1cf691d97b8 (diff)
support for URL _rewrites
Diffstat (limited to 'src/chttpd.erl')
-rw-r--r--src/chttpd.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chttpd.erl b/src/chttpd.erl
index a4bb1293..93047b80 100644
--- a/src/chttpd.erl
+++ b/src/chttpd.erl
@@ -212,7 +212,8 @@ design_url_handlers() ->
{<<"_show">>, fun chttpd_show:handle_doc_show_req/3},
{<<"_list">>, fun chttpd_show:handle_view_list_req/3},
{<<"_update">>, fun chttpd_show:handle_doc_update_req/3},
- {<<"_info">>, fun chttpd_db:handle_design_info_req/3}
+ {<<"_info">>, fun chttpd_db:handle_design_info_req/3},
+ {<<"_rewrite">>, fun chttpd_rewrite:handle_rewrite_req/3}
].
% Utilities