diff --git a/advanced/composing_routers.html b/advanced/composing_routers.html index ce5c47b7..1a5f968f 100644 --- a/advanced/composing_routers.html +++ b/advanced/composing_routers.html @@ -810,8 +810,7 @@
In all the examples above, the routers were created ahead of time, making the whole route tree effective static. To do dynamic routing, we should use router references so that we can update the routes either on background or per request basis. Let's walk through both cases.
First, we need to modify our matching function to support router references:
-(defn- << [x]
- (if (instance? clojure.lang.IDeref x) (deref x) x))
+(defn- << [x] (if (instance? clojure.lang.IDeref x) (deref x) x))
(defn recursive-match-by-path [router path]
(if-let [match (r/match-by-path (<< router) path)]
@@ -963,7 +962,7 @@
diff --git a/advanced/configuring_routers.html b/advanced/configuring_routers.html
index 27e94279..043883f2 100644
--- a/advanced/configuring_routers.html
+++ b/advanced/configuring_routers.html
@@ -766,7 +766,7 @@
diff --git a/advanced/dev_workflow.html b/advanced/dev_workflow.html
index 95126980..ba3bec12 100644
--- a/advanced/dev_workflow.html
+++ b/advanced/dev_workflow.html
@@ -825,7 +825,7 @@
diff --git a/advanced/different_routers.html b/advanced/different_routers.html
index 03560385..c40c7e01 100644
--- a/advanced/different_routers.html
+++ b/advanced/different_routers.html
@@ -769,7 +769,7 @@
diff --git a/advanced/index.html b/advanced/index.html
index 784b22d4..397e341b 100644
--- a/advanced/index.html
+++ b/advanced/index.html
@@ -721,7 +721,7 @@
diff --git a/advanced/route_validation.html b/advanced/route_validation.html
index b9cdc052..56d833e9 100644
--- a/advanced/route_validation.html
+++ b/advanced/route_validation.html
@@ -861,7 +861,7 @@
diff --git a/basics/index.html b/basics/index.html
index 58877470..0746b9f2 100644
--- a/basics/index.html
+++ b/basics/index.html
@@ -724,7 +724,7 @@
diff --git a/basics/name_based_routing.html b/basics/name_based_routing.html
index ffc4a1e0..239c8b70 100644
--- a/basics/name_based_routing.html
+++ b/basics/name_based_routing.html
@@ -784,7 +784,7 @@
diff --git a/basics/path_based_routing.html b/basics/path_based_routing.html
index bdeeb4be..322cdaac 100644
--- a/basics/path_based_routing.html
+++ b/basics/path_based_routing.html
@@ -742,7 +742,7 @@
diff --git a/basics/route_conflicts.html b/basics/route_conflicts.html
index 31fd1d22..b3a8af06 100644
--- a/basics/route_conflicts.html
+++ b/basics/route_conflicts.html
@@ -785,7 +785,7 @@
diff --git a/basics/route_data.html b/basics/route_data.html
index f9baacea..cea2189b 100644
--- a/basics/route_data.html
+++ b/basics/route_data.html
@@ -783,7 +783,7 @@
diff --git a/basics/route_data_validation.html b/basics/route_data_validation.html
index ee642068..941e3b45 100644
--- a/basics/route_data_validation.html
+++ b/basics/route_data_validation.html
@@ -835,7 +835,7 @@
diff --git a/basics/route_syntax.html b/basics/route_syntax.html
index cf75447e..5e98dd95 100644
--- a/basics/route_syntax.html
+++ b/basics/route_syntax.html
@@ -769,7 +769,7 @@
diff --git a/basics/router.html b/basics/router.html
index 399ce162..38145e24 100644
--- a/basics/router.html
+++ b/basics/router.html
@@ -752,7 +752,7 @@
diff --git a/coercion/clojure_spec_coercion.html b/coercion/clojure_spec_coercion.html
index f6e33507..0428b0d1 100644
--- a/coercion/clojure_spec_coercion.html
+++ b/coercion/clojure_spec_coercion.html
@@ -754,7 +754,7 @@
diff --git a/coercion/coercion.html b/coercion/coercion.html
index f900de2a..00030abc 100644
--- a/coercion/coercion.html
+++ b/coercion/coercion.html
@@ -849,7 +849,7 @@
diff --git a/coercion/data_spec_coercion.html b/coercion/data_spec_coercion.html
index 2b6e3496..0c61e478 100644
--- a/coercion/data_spec_coercion.html
+++ b/coercion/data_spec_coercion.html
@@ -748,7 +748,7 @@
diff --git a/coercion/index.html b/coercion/index.html
index d51ec728..9f62ffba 100644
--- a/coercion/index.html
+++ b/coercion/index.html
@@ -721,7 +721,7 @@
diff --git a/coercion/schema_coercion.html b/coercion/schema_coercion.html
index 44133a64..31ff8208 100644
--- a/coercion/schema_coercion.html
+++ b/coercion/schema_coercion.html
@@ -749,7 +749,7 @@
diff --git a/development.html b/development.html
index 379c9ce3..57b2df15 100644
--- a/development.html
+++ b/development.html
@@ -739,7 +739,7 @@ lein test
diff --git a/faq.html b/faq.html
index f25bf2b1..d415ab08 100644
--- a/faq.html
+++ b/faq.html
@@ -817,7 +817,7 @@
diff --git a/frontend/basics.html b/frontend/basics.html
index bf87b048..06565ef1 100644
--- a/frontend/basics.html
+++ b/frontend/basics.html
@@ -716,7 +716,7 @@
diff --git a/frontend/browser.html b/frontend/browser.html
index 2cdbfabf..47baad73 100644
--- a/frontend/browser.html
+++ b/frontend/browser.html
@@ -716,7 +716,7 @@
diff --git a/frontend/controllers.html b/frontend/controllers.html
index 3456eaa1..e66fe619 100644
--- a/frontend/controllers.html
+++ b/frontend/controllers.html
@@ -716,7 +716,7 @@
diff --git a/frontend/index.html b/frontend/index.html
index e5c03e73..e3aec22d 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -720,7 +720,7 @@
diff --git a/index.html b/index.html
index a36254c6..60d961e1 100644
--- a/index.html
+++ b/index.html
@@ -839,7 +839,7 @@
diff --git a/interceptors.html b/interceptors.html
index f8aef710..bbfb9723 100644
--- a/interceptors.html
+++ b/interceptors.html
@@ -770,7 +770,7 @@
diff --git a/performance.html b/performance.html
index 95862195..591350b5 100644
--- a/performance.html
+++ b/performance.html
@@ -795,7 +795,7 @@
diff --git a/ring/coercion.html b/ring/coercion.html
index 87b4a972..4444fa3e 100644
--- a/ring/coercion.html
+++ b/ring/coercion.html
@@ -850,7 +850,7 @@
diff --git a/ring/compiling_middleware.html b/ring/compiling_middleware.html
index 2aacda6e..efd8164a 100644
--- a/ring/compiling_middleware.html
+++ b/ring/compiling_middleware.html
@@ -777,7 +777,7 @@
diff --git a/ring/data_driven_middleware.html b/ring/data_driven_middleware.html
index 2c3ed950..11e56532 100644
--- a/ring/data_driven_middleware.html
+++ b/ring/data_driven_middleware.html
@@ -836,7 +836,7 @@
diff --git a/ring/default_handler.html b/ring/default_handler.html
index 972ab9be..0c256397 100644
--- a/ring/default_handler.html
+++ b/ring/default_handler.html
@@ -783,7 +783,7 @@
diff --git a/ring/dynamic_extensions.html b/ring/dynamic_extensions.html
index b17dc3fd..cbf8fb7b 100644
--- a/ring/dynamic_extensions.html
+++ b/ring/dynamic_extensions.html
@@ -752,7 +752,7 @@
diff --git a/ring/index.html b/ring/index.html
index 28162e01..2005347c 100644
--- a/ring/index.html
+++ b/ring/index.html
@@ -727,7 +727,7 @@
diff --git a/ring/reverse_routing.html b/ring/reverse_routing.html
index 019d03c7..ce305807 100644
--- a/ring/reverse_routing.html
+++ b/ring/reverse_routing.html
@@ -748,7 +748,7 @@
diff --git a/ring/ring.html b/ring/ring.html
index b94de9b9..226ab2c3 100644
--- a/ring/ring.html
+++ b/ring/ring.html
@@ -806,7 +806,7 @@
diff --git a/ring/route_data_validation.html b/ring/route_data_validation.html
index 5da22b43..14d8bc44 100644
--- a/ring/route_data_validation.html
+++ b/ring/route_data_validation.html
@@ -960,7 +960,7 @@
diff --git a/ring/static.html b/ring/static.html
index dfedc331..0b38389f 100644
--- a/ring/static.html
+++ b/ring/static.html
@@ -784,7 +784,7 @@
diff --git a/ring/swagger.html b/ring/swagger.html
index bfb19da2..c21b4303 100644
--- a/ring/swagger.html
+++ b/ring/swagger.html
@@ -978,7 +978,7 @@