summaryrefslogtreecommitdiffstats
path: root/api/context.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-01-21 13:54:21 -0600
committer=Corey Hulen <corey@hulen.com>2016-01-21 13:54:21 -0600
commitdea84b1892be42e8d42db8b67862b56b38c0da75 (patch)
tree2427c16e886a29870b685a90ea7e5173a217875d /api/context.go
parentff9bcce42d14c3b26baf2dab2a1574a3848ea93b (diff)
downloadchat-dea84b1892be42e8d42db8b67862b56b38c0da75.tar.gz
chat-dea84b1892be42e8d42db8b67862b56b38c0da75.tar.bz2
chat-dea84b1892be42e8d42db8b67862b56b38c0da75.zip
PLT-7 Adding react-intl libs
Diffstat (limited to 'api/context.go')
-rw-r--r--api/context.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/context.go b/api/context.go
index a3311a971..6811b2829 100644
--- a/api/context.go
+++ b/api/context.go
@@ -43,6 +43,7 @@ type Page struct {
Channel *model.Channel
PostID string
SessionTokenIndex int64
+ Locale string
}
func ApiAppHandler(h func(*Context, http.ResponseWriter, *http.Request)) http.Handler {