Commits

Miki Tebeka  committed 5f23827

Not in tests

  • Participants
  • Parent commits 6178937

Comments (0)

Files changed (2)

File examples/evil.clj

+(ns dr.evil.run
+  (:use dr.evil)
+  (:use compojure.core)
+  (:use ring.adapter.jetty)
+  (:require [compojure.route :as route]))
+
+(defroutes app
+  (GET "/" [] "Nothing here! (try /evil)")
+  (EVIL "/evil")
+  (route/not-found "Dude! I can't find it."))
+
+(run-jetty app {:port 8080})

File test/example.clj

-(ns dr.evil.run
-  (:use dr.evil)
-  (:use compojure.core)
-  (:use ring.adapter.jetty)
-  (:require [compojure.route :as route]))
-
-(defroutes app
-  (GET "/" [] "Nothing here! (try /evil)")
-  (EVIL "/evil")
-  (route/not-found "Dude! I can't find it."))
-
-(run-jetty app {:port 8080})