From dd5411a8d709520c19a2e3577064b6c1bc289e64 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Fri, 12 Jan 2024 16:33:49 -0600 Subject: Stub out search ... --- conf/clog.conf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'conf/clog.conf') 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 } -- cgit v1.2.3