Skip to content

Instantly share code, notes, and snippets.

@pfeff
Created September 14, 2012 01:17
Show Gist options
  • Save pfeff/3719205 to your computer and use it in GitHub Desktop.
Save pfeff/3719205 to your computer and use it in GitHub Desktop.
(ns todo-compojure.handler
(:use compojure.core)
(:require [compojure.handler :as handler]
[compojure.route :as route]))
(defroutes app-routes
(GET "/" [] "Hello World")
(route/not-found "Not Found"))
(def app
(handler/site app-routes))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment