noir-clojure / lib-noir

A set of libraries for ring apps, including stateful sessions.
Eclipse Public License 1.0
481 stars 47 forks source link

Add wrap-if function. #61

Closed edtsech closed 11 years ago

edtsech commented 11 years ago

Usage: (-> handler (wrap-if development? wrap-reload) ...)

Wdyt?

Raynes commented 11 years ago

I think I like this. Maybe.

@yogthos If you like this, pretend I said I totally love it and merge it in.

yogthos commented 11 years ago

this looks like a good idea, definitely handy for testing and dev, and sounds like we're all for it, so I'll merge it in then :)