Created
May 11, 2010 13:23
-
-
Save christianberg/397298 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns compojureongae.core | |
(:gen-class :extends javax.servlet.http.HttpServlet) | |
(:use compojure.core | |
ring.util.servlet) | |
(:require [compojure.route :as route])) | |
(defroutes example | |
(GET "/" [] "<h1>Hello World Wide Web!</h1>") | |
(route/not-found "Page not found")) | |
(defservice example) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment