print proper error page for unknown pronouns
This commit is contained in:
parent
0150d805f3
commit
30d4e781dc
@ -51,7 +51,7 @@
|
||||
{:status 200
|
||||
:headers {"Content-Type" "text/plain"}
|
||||
:body (let [pronouns (parse-pronouns-with-lookup (:* params))]
|
||||
(apply render-examples-page pronouns))})
|
||||
(apply render-examples-page (or pronouns [:error])))})
|
||||
|
||||
(ANY "*" []
|
||||
(route/not-found (slurp (io/resource "404.html")))))
|
||||
|
Loading…
Reference in New Issue
Block a user