Merge pull request #299 from rynkowsg/fix-doc-middleware/create

Correct doc (obsolete example of middleware/create)
This commit is contained in:
Tommi Reiman 2019-06-27 16:41:15 +03:00 committed by GitHub
commit c829504b59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ The following produce identical middleware runtime function.
(require '[reitit.middleware :as middleware])
(def wrap2
(middleware/create
(middleware/map->Middleware
{:name ::wrap2
:description "Middleware that does things."
:wrap wrap}))