Skip to content

Instantly share code, notes, and snippets.

@linuxsoares
Created August 6, 2017 04:30
Show Gist options
  • Save linuxsoares/7c48b72d844e5226222f0d028b47a819 to your computer and use it in GitHub Desktop.
Save linuxsoares/7c48b72d844e5226222f0d028b47a819 to your computer and use it in GitHub Desktop.
;; Tabular routes
(def routes #{["/" :get (conj common-interceptors `home-page)]
["/about" :get (conj common-interceptors `about-page)]
["/json" :get (conj common-interceptors-json `get-json)]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment