aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 "*"