mirror of
https://github.com/metosin/reitit.git
synced 2025-12-28 04:18:24 +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
|
||||
["/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
|
||||
|
|
|
|||
Loading…
Reference in a new issue