diff --git a/README.md b/README.md index f4c46acf..00b01e9c 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ A fast data-driven router for Clojure(Script). * [Fast](https://metosin.github.io/reitit/performance.html) Posts: +* [Welcome Reitit 0.2.0!](https://www.metosin.fi/blog/reitit020/) * [Reitit, Data-Driven Routing with Clojure(Script)](https://www.metosin.fi/blog/reitit/) * [Data-Driven Ring with Reitit](https://www.metosin.fi/blog/reitit-ring/) diff --git a/doc/cljdoc.edn b/doc/cljdoc.edn index 77dcdc49..39bda90a 100644 --- a/doc/cljdoc.edn +++ b/doc/cljdoc.edn @@ -47,7 +47,7 @@ ["Different Routers" {:file "doc/advanced/different_routers.md"}] ["Route Validation" {:file "doc/advanced/route_validation.md"}] ["Dev Workflow" {:file "doc/advanced/dev_workflow.md"}] - ["Shared Routes" {:file "doc/patterns/shared_routes.md"}]] + ["Shared Routes" {:file "doc/advanced/shared_routes.md"}]] ["Misc" ["Performance" {:file "doc/performance.md"}] ["Interceptors (WIP)" {:file "doc/interceptors.md"}] diff --git a/examples/pedestal/src/example/server.clj b/examples/pedestal/src/example/server.clj index 0b0e4013..6bde70f6 100644 --- a/examples/pedestal/src/example/server.clj +++ b/examples/pedestal/src/example/server.clj @@ -2,7 +2,7 @@ (:require [io.pedestal.http] [clojure.core.async :as a] [reitit.interceptor.pedestal :as pedestal] - muuntaja.interceptor + [muuntaja.interceptor] [reitit.http :as http] [reitit.ring :as ring])) @@ -22,8 +22,7 @@ (pedestal/routing-interceptor (http/router ["/api" - {:interceptors [(interceptor :api) - (interceptor :ipa)]} + {:interceptors [(interceptor :api)]} ["/sync" {:interceptors [(interceptor :sync)]