moustache
moustache copied to clipboard
a micro web framework/internal DSL to wire Ring handlers and middlewares
Link in #syntax sections of README.md (http://moustache.cgrand.net/syntax.html) gives 403 error when followed.
``` => (require ['net.cgrand.moustache :refer ['app]]) nil => (app :middlewares [] ["a"] "a here" ["b"] "b here") ClassCastException clojure.lang.PersistentVector cannot be cast to clojure.lang.Named clojure.core/name (core.clj:1505) net.cgrand.moustache/method-not-allowed-form/fn--1691 (moustache.clj:132) clojure.core/map/fn--4207 (core.clj:2487)...
This is a feature request — it would help if I could use a set of methods wherever a single one is currently allowed. E.g. #{:get :post} instead of just...
How can we render images to html? How to allow the image files for an html page routes with moustache?
I'm relying on "&" destructuring to hierarchically decompose my URI namespace. At the end of the URI, the "&" can match both "no further path segment" as well as "exactly...