reitit/doc/advanced
Hannu Hartikainen 9e05d58880
Fix reader conditional example
The previous example only worked by accident (because there was an even number of map keys with conditional values).

{:get #?(:clj 1), :post #?(:clj 2)} gets read as {:get :post} in a non-clj context. The splicing reader conditional or a :cljs (or :default) value is needed to have the code work as intended. Here we change the docs to use the splicing version, as that is (imho) more beautiful than adding another branch.
2018-10-05 13:27:56 +03:00
..
composing_routers.md Polish docs 2018-07-28 12:01:12 +03:00
configuring_routers.md helping cljdoc 2018-05-29 23:18:06 +03:00
dev_workflow.md Added "Dev Workflow" to "Advanced" docs 2018-02-20 11:53:54 +01:00
different_routers.md Tuning the docs 2018-02-11 19:25:59 +02:00
route_validation.md Docs for route-data validation 2017-12-27 20:27:51 +02:00
shared_routes.md Fix reader conditional example 2018-10-05 13:27:56 +03:00