From b995425bf1b03e49a3791330c1466ed0fe3732ed Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Thu, 24 Jul 2014 22:33:40 +0100 Subject: [PATCH] Not absolutely certain what the change to rules.clj is, but tests didn't break... --- resources/public/docs/mw-engine/uberdoc.html | 2 +- resources/public/docs/mw-ui/uberdoc.html | 3 ++- src/mw_ui/routes/rules.clj | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/public/docs/mw-engine/uberdoc.html b/resources/public/docs/mw-engine/uberdoc.html index 9ac8488..7e96834 100644 --- a/resources/public/docs/mw-engine/uberdoc.html +++ b/resources/public/docs/mw-engine/uberdoc.html @@ -3448,7 +3448,7 @@ important.

[cell x y property value] (cond (and (= x (:x cell)) (= y (:y cell))) - (merge cell {property value}) + (merge cell {property value :rule "Set by user"}) true cell))

Return a world like this world but with the value of exactly one property of one cell changed to this value

diff --git a/resources/public/docs/mw-ui/uberdoc.html b/resources/public/docs/mw-ui/uberdoc.html index 5024697..ca9d459 100644 --- a/resources/public/docs/mw-ui/uberdoc.html +++ b/resources/public/docs/mw-ui/uberdoc.html @@ -3350,7 +3350,8 @@ net.brehaut.ClojureTools = (function (SH) { [mw-ui.util :as util] [mw-ui.render-world :as world] [noir.io :as io] - [noir.session :as session])) + [noir.session :as session] + [ring.util.response :as response]))
(defn process-rules-request
   [request]
   (let [src (:src (keywordize-keys (:form-params request)))]
diff --git a/src/mw_ui/routes/rules.clj b/src/mw_ui/routes/rules.clj
index efb0eb7..7512605 100644
--- a/src/mw_ui/routes/rules.clj
+++ b/src/mw_ui/routes/rules.clj
@@ -7,7 +7,8 @@
             [mw-ui.util :as util]
             [mw-ui.render-world :as world]
             [noir.io :as io]
-            [noir.session :as session]))
+            [noir.session :as session]
+            [ring.util.response :as response]))
 
 (defn process-rules-request
   [request]