Creating a new luminus project using lein new luminus new-project +cljs produces a bug in the new-project.routes.home namespace.
When the user runs lein run they will get this error:
Exception in thread "main" java.lang.ExceptionInInitializerError
at clojure.main.<clinit>(main.java:20)
Caused by: java.lang.RuntimeException: Unable to resolve symbol: ok in this context, compiling:(new_proj/routes/home.clj:12:19)
To resolve the error, go into new-project.routes.home and make the following change:
(defroutes home-routes
(GET "/" [] (home-page))
(GET "/docs" [] (ok (-> "docs/docs.md" io/resource slurp))))
Change ok to response/ok.
I am pretty new to Clojure(Script), but if someone points me in the right direction I can try and fix and submit a PR.