Skip to content

Instantly share code, notes, and snippets.

Created March 10, 2014 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6124107f09c2b900d22b to your computer and use it in GitHub Desktop.
Save anonymous/6124107f09c2b900d22b to your computer and use it in GitHub Desktop.
(def routes
(route
[index-handler
"login" login-handler
"0.1.0" [nil
"co" [nil
:* [nil ; company-id
"reports" [report-index-handler
:* [nil ; date
:* [report-handler
"configuration" report-configuration-handler
"res" [nil
:* report-resource-handler]]]]
"account" account-handler]]]])) ; report-type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment