Skip to content

Commit

Permalink
Ah, I think there was a tab character in the not-found route - fixed …
Browse files Browse the repository at this point in the history
…to use spaces so it should line up correctly now
  • Loading branch information
kmp1 authored and Raynes committed Mar 21, 2014
1 parent 454e7c3 commit c5686ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/tryclojure/server.clj
Expand Up @@ -9,12 +9,12 @@

(def app-routes
[(GET "/" [] (home/root-html))
(GET "/about" [] (home/about-html))
(GET "/links" [] (home/links-html))
(POST "/tutorial" [:as {args :params}] (tutorial/tutorial-html (args :page)))
(POST "/eval.json" [:as {args :params}] (eval/eval-json (args :expr) (args :jsonp)))
(GET "/eval.json" [:as {args :params}] (eval/eval-json (args :expr) (args :jsonp)))
(route/resources "/")
(GET "/about" [] (home/about-html))
(GET "/links" [] (home/links-html))
(POST "/tutorial" [:as {args :params}] (tutorial/tutorial-html (args :page)))
(POST "/eval.json" [:as {args :params}] (eval/eval-json (args :expr) (args :jsonp)))
(GET "/eval.json" [:as {args :params}] (eval/eval-json (args :expr) (args :jsonp)))
(route/resources "/")
(route/not-found "Not Found")])

(def app (nm/app-handler app-routes))
Expand Down

0 comments on commit c5686ce

Please sign in to comment.