about summary refs log tree commit diff
path: root/src/pronouns/web.clj
diff options
context:
space:
mode:
authorErik Osheim <d_m@plastic-idolatry.com>2015-03-14 02:30:19 -0400
committerErik Osheim <d_m@plastic-idolatry.com>2015-03-14 02:30:19 -0400
commitf74fa10cbb3f29ae8fa9e7b29e827e688b6c8ceb (patch)
tree79ef2f51f00829899076660b72b28f929d31d12a /src/pronouns/web.clj
parent8e71056c5a264347803036d0d00154b6351dc91e (diff)
Add support for a global pronoun list at /.
This commit displsy a linkified view of the pronouns
database when users hit /. Currently, each link is
shown with the first two words in the database entry
(which is enough to be unambiguous).

Results are sorted alphabetically for easy browsing.
Diffstat (limited to 'src/pronouns/web.clj')
-rw-r--r--src/pronouns/web.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pronouns/web.clj b/src/pronouns/web.clj
index 646e142..04acd5d 100644
--- a/src/pronouns/web.clj
+++ b/src/pronouns/web.clj
@@ -20,8 +20,8 @@
 (defroutes app-routes
   (GET "/" []
        {:status 200
-        :headers {"Content-Type" "text/plain"}
-        :body (pages/front)})
+        :headers {"Content-Type" "text/html"}
+        :body (pages/front pronouns-table)})
 
   (GET "/pronouns.css" {params :params}
      {:status 200