Created
August 6, 2017 04:30
-
-
Save linuxsoares/7c48b72d844e5226222f0d028b47a819 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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