Re: Extra params for a handler inside Ring's wrap-params

2011-03-24 Thread Thorsten Wilms
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

Extra params for a handler inside Ring's wrap-params

2011-03-23 Thread Thorsten Wilms
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