diff options
Diffstat (limited to 'conf/clog.conf')
-rw-r--r-- | conf/clog.conf | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/conf/clog.conf b/conf/clog.conf index 9653e94..1131930 100644 --- a/conf/clog.conf +++ b/conf/clog.conf @@ -23,17 +23,22 @@ domain * { filemap /static/ assets/static route / { - handler posts + handler get_posts methods get } route /posts { - handler posts - methods get post + handler get_posts + methods get + } + + route /posts { + handler post_posts + methods post } route ^/posts/[a-z0-9\-]+$ { - handler GET_post + handler get_posts_resource methods get } |