From 2380054696fb2fd01c7b296042a2188cb73cc077 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Thu, 19 Feb 2009 12:02:31 +0100 Subject: Stylistic improvements. --- cljssss-g.clj | 4 ++-- 1 file 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 "*" -- cgit v1.2.3