mirror of
https://github.com/metosin/reitit.git
synced 2026-01-27 08:30:35 +00:00
Merge pull request #152 from dancek/patch-1
Fix reader conditional example
This commit is contained in:
commit
b70edbb89d
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@ There are multiple options to use shared routing table.
|
||||||
(def routes
|
(def routes
|
||||||
["/kikka"
|
["/kikka"
|
||||||
{:name ::kikka
|
{:name ::kikka
|
||||||
:get #?(:clj {:handler get-kikka})
|
#?@(:clj [:get {:handler get-kikka}])
|
||||||
:post #?(:clj {:handler post-kikka})}])
|
#?@(:clj [:post {:handler post-kikka}])}])
|
||||||
```
|
```
|
||||||
|
|
||||||
## Using custom expander
|
## Using custom expander
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue