Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;have
- (def app (app-handler
- [home-routes
- base-routes]
- ...))
- (defn get-handler []
- (-> #'app
- (wrap-file "resources")
- (wrap-file-info)))
- ;want
- (def app (app-handler
- [(home-routes param1 param2) ;pass params to route
- base-routes]
- ...))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement