Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (ns attendance.core
- (:use karras.core
- karras.collection
- karras.sugar
- compojure.core
- ring.adapter.jetty
- hiccup.core)
- (:require [compojure.route :as route]))
- (defn home []
- (html
- [:h1 "content-changed"]
- [:p "paragraph inside content also changed"]))
- (defroutes main-routes
- (GET "/" [] (home))
- (route/not-found "<h1>Page not found</h1>"))
- (defonce server (run-jetty (var main-routes) {:port 8080 :join? false}))
Add Comment
Please, Sign In to add comment