Merge pull request #152 from dancek/patch-1

Fix reader conditional example
This commit is contained in:
Tommi Reiman 2018-10-05 13:38:03 +03:00 committed by GitHub
commit b70edbb89d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,8 +17,8 @@ There are multiple options to use shared routing table.
(def routes
["/kikka"
{:name ::kikka
:get #?(:clj {:handler get-kikka})
:post #?(:clj {:handler post-kikka})}])
#?@(:clj [:get {:handler get-kikka}])
#?@(:clj [:post {:handler post-kikka}])}])
```
## Using custom expander