expose org id to frontend, Closes #1907

This commit is contained in:
Torkel Ödegaard
2015-04-29 09:26:12 +02:00
parent 8a986ec340
commit e7c43bf614
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -18,6 +18,7 @@ func setIndexViewData(c *middleware.Context) error {
Email: c.Email,
Name: c.Name,
LightTheme: c.Theme == "light",
OrgId: c.OrgId,
OrgName: c.OrgName,
OrgRole: c.OrgRole,
GravatarUrl: dtos.GetGravatarUrl(c.Email),