update doc comment for render function to indicate it doesn't use caching
This commit is contained in:
parent
128a84dfcb
commit
eba793d31e
|
@ -98,7 +98,8 @@
|
||||||
|
|
||||||
(defn render
|
(defn render
|
||||||
"renders a template contained in the provided string, using the values in model-map
|
"renders a template contained in the provided string, using the values in model-map
|
||||||
as the model for the template."
|
as the model for the template. templates rendered using this function are always
|
||||||
|
parsed, compiled and rendered. the compiled results are never cached."
|
||||||
[s model-map & [options]]
|
[s model-map & [options]]
|
||||||
(let [compiled-template (compile-template-string s)]
|
(let [compiled-template (compile-template-string s)]
|
||||||
(render-compiled-template compiled-template model-map options)))
|
(render-compiled-template compiled-template model-map options)))
|
||||||
|
|
Reference in a new issue