add some more pronouns, fix a typo

This commit is contained in:
Morgan 2015-03-09 05:14:47 +00:00
parent e3efc283be
commit 0150d805f3
2 changed files with 7 additions and 4 deletions

View File

@ -1,2 +1,5 @@
ze hir hirs hirs hirself
ze hir hir hirs hirself
ze zir zir zirs zirself
she her her hers herself
he him his his himself
they them their theirs themself

View File

@ -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 "*" []