mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 08:21:11 +00:00
Merge pull request #460 from scott-silver/patch-1
Pedantic grammer correction
This commit is contained in:
commit
8cca1fe40b
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ A Ring routing app with input & output coercion using [data-specs](https://githu
|
||||||
:handler (fn [{{{:keys [x y]} :query} :parameters}]
|
:handler (fn [{{{:keys [x y]} :query} :parameters}]
|
||||||
{:status 200
|
{:status 200
|
||||||
:body {:total (+ x y)}})}}]]
|
:body {:total (+ x y)}})}}]]
|
||||||
;; router data effecting all routes
|
;; router data affecting all routes
|
||||||
{:data {:coercion reitit.coercion.spec/coercion
|
{:data {:coercion reitit.coercion.spec/coercion
|
||||||
:middleware [rrc/coerce-exceptions-middleware
|
:middleware [rrc/coerce-exceptions-middleware
|
||||||
rrc/coerce-request-middleware
|
rrc/coerce-request-middleware
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue