From 0150d805f3ebc3a2a9d003d502444ba1b18e70a3 Mon Sep 17 00:00:00 2001 From: Morgan Date: Mon, 9 Mar 2015 05:14:47 +0000 Subject: add some more pronouns, fix a typo --- src/pronouns/web.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/pronouns/web.clj b/src/pronouns/web.clj index 971c69b..665618d 100644 --- a/src/pronouns/web.clj +++ b/src/pronouns/web.clj @@ -39,8 +39,8 @@ (str subject " brought " possessive-determiner " frisbee") (str "at least I think it was " possessive-pronoun) (str subject " threw it to " reflexive)])) - ([error-message] - error-message)) + ([nothing] + "We couldn't find those pronouns in our database, please let us know to add them!")) (defroutes app-routes (GET "/" [] @@ -50,7 +50,7 @@ (GET "/*" {params :params} {:status 200 :headers {"Content-Type" "text/plain"} - :body (let [pronouns (parse-pronouns-with-lookup {:* params})] + :body (let [pronouns (parse-pronouns-with-lookup (:* params))] (apply render-examples-page pronouns))}) (ANY "*" [] -- cgit