summaryrefslogtreecommitdiffstats
path: root/api/context.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-15 18:59:14 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-15 18:59:14 -0700
commitb2a679c25da42c4665059965830858da4f0ec238 (patch)
tree831b04b0453a67dc291e08e091ffdb497d187922 /api/context.go
parent788fc4373b8d22930b3420f7906e626e2bd63394 (diff)
downloadchat-b2a679c25da42c4665059965830858da4f0ec238.tar.gz
chat-b2a679c25da42c4665059965830858da4f0ec238.tar.bz2
chat-b2a679c25da42c4665059965830858da4f0ec238.zip
PLT-93 cleaing up client side configs
Diffstat (limited to 'api/context.go')
-rw-r--r--api/context.go9
1 files changed, 3 insertions, 6 deletions
diff --git a/api/context.go b/api/context.go
index fc7d8f23d..313eec189 100644
--- a/api/context.go
+++ b/api/context.go
@@ -29,12 +29,9 @@ type Context struct {
}
type Page struct {
- TemplateName string
- Title string
- SiteName string
- FeedbackEmail string
- SiteURL string
- Props map[string]string
+ TemplateName string
+ Props map[string]string
+ ClientProps map[string]string
}
func ApiAppHandler(h func(*Context, http.ResponseWriter, *http.Request)) http.Handler {