diff options
Diffstat (limited to 'conf/clog.conf')
-rw-r--r-- | conf/clog.conf | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/conf/clog.conf b/conf/clog.conf index 0739f70..c469376 100644 --- a/conf/clog.conf +++ b/conf/clog.conf @@ -58,11 +58,6 @@ domain * { methods get } - route ^/entries/[a-z0-9\-]+/edit$ { - handler edit_entry - methods get - } - route ^/entries/[a-z0-9\-]+$ { handler update_entry methods post @@ -71,6 +66,17 @@ domain * { validate post body v_text } + route ^/entries/[a-z0-9\-]+/delete$ { + handler delete_entry + methods get + } + + route ^/entries/[a-z0-9\-]+/edit$ { + handler edit_entry + methods get + } + + route ^/.*$ { handler redirect } |