summaryrefslogtreecommitdiffstats
path: root/api/api.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-16 12:36:35 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-16 12:36:35 -0700
commitac38aadc12b9665b612196d4293495d79e3f9d19 (patch)
tree268fb595ce70e5586cf16e8145339aca8f3469b0 /api/api.go
parent4e11fa23d750afbefad099638530b754776a3357 (diff)
downloadchat-ac38aadc12b9665b612196d4293495d79e3f9d19.tar.gz
chat-ac38aadc12b9665b612196d4293495d79e3f9d19.tar.bz2
chat-ac38aadc12b9665b612196d4293495d79e3f9d19.zip
Fixing broken email templates
Diffstat (limited to 'api/api.go')
-rw-r--r--api/api.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/api.go b/api/api.go
index 8203b07a6..3fbb7d0df 100644
--- a/api/api.go
+++ b/api/api.go
@@ -17,9 +17,10 @@ var ServerTemplates *template.Template
type ServerTemplatePage Page
func NewServerTemplatePage(templateName string) *ServerTemplatePage {
+
return &ServerTemplatePage{
TemplateName: templateName,
- Props: make(map[string]string),
+ Props: props := make(map[string]string),
ClientProps: utils.ClientProperties,
}
}