Skip to content

Instantly share code, notes, and snippets.

@lvh

lvh/routes.clj Secret

Created June 10, 2015 01:04
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 lvh/af3a2825d7647345437b to your computer and use it in GitHub Desktop.
Save lvh/af3a2825d7647345437b to your computer and use it in GitHub Desktop.
(defroutes routes
(GET "/" [] (home-page))
(POST "/apply" [] "abc")
(not-found "Not Found")
(resources "/"))
;; POST /apply HTTP/1.1 =>
;; HTTP/1.1 404 Not Found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment