summaryrefslogtreecommitdiff
path: root/src/chef/routes.clj
diff options
context:
space:
mode:
authorTim <contact@bytim.eu>2025-06-07 13:24:07 +0200
committerTim <contact@bytim.eu>2025-06-07 13:24:07 +0200
commit25d30f3c036f47a62ea6ebdc96496d836ebd4ef7 (patch)
treefb4e60b0706874c9d525f2ff64e2c443aa128581 /src/chef/routes.clj
parent294f71fb3c5ca3f0fee62e70c9c6a3427a9afc12 (diff)
downloadchef-25d30f3c036f47a62ea6ebdc96496d836ebd4ef7.tar.xz
chef-25d30f3c036f47a62ea6ebdc96496d836ebd4ef7.zip
Show thumbnail on recipe pageHEADmaster
Diffstat (limited to 'src/chef/routes.clj')
-rw-r--r--src/chef/routes.clj4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/chef/routes.clj b/src/chef/routes.clj
index 03d2e5b..d21cb0d 100644
--- a/src/chef/routes.clj
+++ b/src/chef/routes.clj
@@ -18,7 +18,9 @@
[chef.pages.admin.recipe-editor :as cparecipe-editor]))
(def router [["/" {:get {:handler cphome/handler}}]
- ["/recipes/:id" {:get cprecipe/handler}]
+ ["/recipes/:id"
+ ["/" {:get cprecipe/handler}]
+ ["/thumbnail" {:get cprecipe/thumbnail-handler}]]
["/static/*" (rring/create-resource-handler)]
["/admin"
["/" {:get {:handler cpadmin/handler}}]