Commits

Miki Tebeka committed 6178937

Better(?) name

Comments (0)

Files changed (2)

+(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})

test/run.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})