clojurecup2014-luduverse/handler.clj

19 lines
431 B
Clojure
Raw Normal View History

2014-09-27 11:54:27 +02:00
(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]))