diff options
| author | Scott Ostler <scottbot9000@gmail.com> | 2010-06-22 04:53:56 -0400 |
|---|---|---|
| committer | Scott Ostler <scottbot9000@gmail.com> | 2010-06-22 04:53:56 -0400 |
| commit | e6fc8fe57e0ad75313f839fe60a5bb442f7954fb (patch) | |
| tree | ecbfbe3d2cb41eb57e14c822fa1404405e2ec508 /src/utils.clj | |
| parent | a5c1f147db69d161110286e40da3c7f0c18cae8b (diff) | |
Added infobar to favs page, added mini-profile template
Diffstat (limited to 'src/utils.clj')
| -rwxr-xr-x | src/utils.clj | 3 |
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))) |
