aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2009-02-19 12:02:31 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2009-02-19 12:02:31 +0100
commit2380054696fb2fd01c7b296042a2188cb73cc077 (patch)
tree4d9394e14fd3615b0e0cbe304ff8c1a1fbe53603
parent18f246cf5d73984c709f76ab42c22593ba62ff42 (diff)
Stylistic improvements.
-rw-r--r--cljssss-g.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/cljssss-g.clj b/cljssss-g.clj
index ed5d08d..435c6c5 100644
--- a/cljssss-g.clj
+++ b/cljssss-g.clj
@@ -4,12 +4,12 @@
(import (org.antlr.stringtemplate StringTemplateGroup))
(use compojure))
-(def tgroup (new StringTemplateGroup ""))
+(def templates (new StringTemplateGroup ""))
(defservlet cljssss-g
(GET "/"
(.toString
- (doto (.getInstanceOf tgroup "index")
+ (doto (.getInstanceOf templates "index")
(.setAttributes {"title" "Subscriptions",
"mainParagraph" "Hi there!"}))))
(ANY "*"