update doc comment for render function to indicate it doesn't use caching

This commit is contained in:
Gered 2014-03-02 13:02:04 -05:00
parent 128a84dfcb
commit eba793d31e

View file

@ -98,7 +98,8 @@
(defn render
"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]]
(let [compiled-template (compile-template-string s)]
(render-compiled-template compiled-template model-map options)))