summaryrefslogtreecommitdiff
path: root/src/chef/routes.clj
diff options
context:
space:
mode:
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}}]