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
(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]