summaryrefslogtreecommitdiff
path: root/src/utils.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.clj')
-rwxr-xr-xsrc/utils.clj3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils.clj b/src/utils.clj
index 8bd8291..04b870f 100755
--- a/src/utils.clj
+++ b/src/utils.clj
@@ -270,6 +270,9 @@
(.setAttribute st "isadmin" (session :is_admin))))
st))
+(defn fetch-template-fragment [template]
+ (.getInstanceOf template-group template))
+
(defn serve-template [template session]
(.toString (fetch-template template session)))