Commit graph

5 commits

Author SHA1 Message Date
tjalkane
0db25a305c Fix: typos in documentation 2019-01-27 22:15:03 +02:00
Laura Macchini
49cbb33aa4
fix typo 2018-10-15 10:59:13 +02:00
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
Tommi Reiman
31d2bc5832 fix doc 2018-10-03 08:36:59 +03:00
Tommi Reiman
c487b27288 initial rework 2018-09-02 19:23:18 +03:00
Renamed from doc/patterns/shared_routes.md (Browse further)