Add a dummy page to make clojurecup.com checks happy :)
This commit is contained in:
parent
34bbcb277c
commit
54e24f0f19
1 changed files with 5 additions and 3 deletions
|
@ -1,11 +1,13 @@
|
||||||
(ns luduverse.handler
|
(ns luduverse.handler
|
||||||
(:require [compojure.core :refer [defroutes]]
|
(:require [compojure.core :refer :all]
|
||||||
[compojure.route :as route]
|
[compojure.route :as route]
|
||||||
[noir.util.middleware :as middleware]))
|
[noir.util.middleware :as middleware]
|
||||||
|
[luduverse.pages :as pages]))
|
||||||
|
|
||||||
(defroutes core-routes
|
(defroutes core-routes
|
||||||
(route/resources "/")
|
(route/resources "/")
|
||||||
(route/not-found "Nothing to see here at the moment ..."))
|
(GET "/" [] (pages/front-page))
|
||||||
|
(route/not-found "404, sorry."))
|
||||||
|
|
||||||
(defn init [])
|
(defn init [])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue