mirror of
https://github.com/metosin/reitit.git
synced 2026-01-06 23:49:50 +00:00
.
This commit is contained in:
parent
ba26881348
commit
5baa793810
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ The common Middleware can also be pushed to the router, here cleanly separing be
|
|||
::roles #{:manager}}
|
||||
:delete {:handler handler
|
||||
::roles #{:admin}}}]]
|
||||
{:middleware [zone-middleware wrap-enforce-roles]
|
||||
{:data {:middleware [zone-middleware wrap-enforce-roles]}
|
||||
:validate rrs/validate-spec!
|
||||
::rs/explain e/expound-str})))
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue