add convenience function for application config

This commit is contained in:
Gered 2016-05-19 10:23:41 -04:00
parent 6636b1e720
commit bbb3a3f189

View file

@ -267,6 +267,10 @@
[views]
(swap! view-system update-in [:views] (fnil into {}) (map vector (map id views) views)))
(defn set-send-fn!
[f]
(swap! view-system assoc :send-fn f))
(comment
(defrecord SQLView [id query-fn]
IView