aboutsummaryrefslogtreecommitdiff
path: root/conf/clog.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/clog.conf')
-rw-r--r--conf/clog.conf15
1 files changed, 10 insertions, 5 deletions
diff --git a/conf/clog.conf b/conf/clog.conf
index e305ca4..89e9880 100644
--- a/conf/clog.conf
+++ b/conf/clog.conf
@@ -35,11 +35,21 @@ domain * {
methods get
}
+ route ^/entries/search$ {
+ handler search_entries
+ methods get
+ }
+
route ^/entries/[a-z0-9\-]+$ {
handler get_entry
methods get
}
+ route ^/entries/[a-z0-9\-]+/edit$ {
+ handler edit_entry
+ methods get
+ }
+
route ^/entries/[a-z0-9\-]+$ {
handler update_entry
methods post
@@ -49,11 +59,6 @@ domain * {
validate post body v_text
}
- route ^/entries/[a-z0-9\-]+/edit$ {
- handler edit_entry
- methods get
- }
-
route ^/.*$ {
handler redirect
}