On 03/23/2011 02:32 PM, Thorsten Wilms wrote:
Hi!
Routing, using ring.middleware.params and net.cgrand.moustache:
(def tlog-app-handler
(app ["admin" &]
{:get (app ...snip...)
:post (app wrap-params [[path not-empty] &] submit-article)}
Thanks to wrap-params, I can destructure request
Hi!
Routing, using ring.middleware.params and net.cgrand.moustache:
(def tlog-app-handler
(app ["admin" &]
{:get (app ...snip...)
:post (app wrap-params [[path not-empty] &] submit-article)}
Thanks to wrap-params, I can destructure request params within
submit-article. Howe