From 991c601bf53d41a87f717d78fd717c534a11afa2 Mon Sep 17 00:00:00 2001 From: Aaron Mueller Date: Sat, 27 Sep 2014 17:24:44 +0200 Subject: [PATCH] Move the handler into the right place --- handler.clj | 18 ------------------ src/luduverse/core.clj | 2 ++ 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 handler.clj diff --git a/handler.clj b/handler.clj deleted file mode 100644 index a659307..0000000 --- a/handler.clj +++ /dev/null @@ -1,18 +0,0 @@ -(ns luduverse.handler - (:require [compojure.core :refer [defroutes]] - [compojure.route :as route] - [noir.util.middleware :as middleware])) - -(defroutes core-routes - (route/resources "/") - (route/not-found "Nothing here ...")) - -(defn init []) - -(defn destroy []) - -(def app (middleware/app-handler - [app-routes] - :middleware [] - :access-rules [] - :formats [:json-kw :edn])) diff --git a/src/luduverse/core.clj b/src/luduverse/core.clj index b39f1d9..f7b5e9d 100644 --- a/src/luduverse/core.clj +++ b/src/luduverse/core.clj @@ -4,3 +4,5 @@ "I don't do a whole lot." [x] (println x "Hello, World!")) + +(def -main [])