add convenience function for application config
This commit is contained in:
parent
6636b1e720
commit
bbb3a3f189
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue