about summary refs log tree commit diff
path: root/src/pronouns/web.clj
diff options
context:
space:
mode:
authorThel Seraphim <thel.seraphim@gmail.com>2015-03-13 21:14:23 -0700
committerThel Seraphim <thel.seraphim@gmail.com>2015-03-13 21:14:23 -0700
commitbb925b1e7411fa9069b4b0c426e14812c629399f (patch)
treed9bd6d00f550e21f8e051a78654930b42c9c6446 /src/pronouns/web.clj
parente7f1120416313b556587fd53a471b5ce96d166a1 (diff)
nothing broken but nothing happening either, now with more css
Diffstat (limited to 'src/pronouns/web.clj')
-rw-r--r--src/pronouns/web.clj5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pronouns/web.clj b/src/pronouns/web.clj
index ef6e666..2189038 100644
--- a/src/pronouns/web.clj
+++ b/src/pronouns/web.clj
@@ -28,6 +28,11 @@
         :headers {"Content-Type" "text/html"}
         :body (pages/pronouns (:* params) pronouns-table)})
 
+  (GET "/pronouns.css" {params :params}
+       {:status 200
+       :headers {"Content-Type" "text/css"}
+       :body (slurp (io/resource "pronouns.css"))})
+
   (ANY "*" []
        (route/not-found (slurp (io/resource "404.html")))))