SHARE
TWEET

Untitled

a guest Oct 16th, 2014 163 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;have
  2. (def app (app-handler
  3.            [home-routes
  4.             base-routes]
  5.                 ...))
  6.  
  7. (defn get-handler []
  8.   (-> #'app
  9.       (wrap-file "resources")
  10.       (wrap-file-info)))
  11.  
  12.  
  13.  
  14. ;want
  15. (def app (app-handler
  16.            [(home-routes param1 param2) ;pass params to route
  17.             base-routes]
  18.                 ...))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top