summaryrefslogtreecommitdiff
path: root/src/utils.clj
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2010-06-22 04:53:56 -0400
committerScott Ostler <scottbot9000@gmail.com>2010-06-22 04:53:56 -0400
commite6fc8fe57e0ad75313f839fe60a5bb442f7954fb (patch)
treeecbfbe3d2cb41eb57e14c822fa1404405e2ec508 /src/utils.clj
parenta5c1f147db69d161110286e40da3c7f0c18cae8b (diff)
Added infobar to favs page, added mini-profile template
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)))