1
0
Fork 0
forked from forgejo/forgejo

#1692 add organization APIs

This commit is contained in:
Unknwon 2015-12-17 02:28:47 -05:00
parent 6673dcb038
commit 9cd16c5b12
20 changed files with 204 additions and 55 deletions

View file

@ -44,7 +44,7 @@ func getDashboardContextUser(ctx *middleware.Context) *models.User {
}
ctx.Data["ContextUser"] = ctxUser
if err := ctx.User.GetOrganizations(); err != nil {
if err := ctx.User.GetOrganizations(true); err != nil {
ctx.Handle(500, "GetOrganizations", err)
return nil
}