clojurecup2014-luduverse/handler.clj
2014-09-27 11:54:27 +02:00

18 lines
431 B
Clojure

(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]))