minor fix on template

This commit is contained in:
Unknwon committed 2015-09-07 14:02:09 -04:00
1 parent 3d9b98fae4
commit cc83043edc
4 files changed
+2 -6

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ const (
func checkContextUser(ctx *middleware.Context, uid int64) *models.User {
orgs, err := models.GetOwnedOrgsByUserIDDesc(ctx.User.Id, "updated")
if err != nil {
ctx.Handle(500, "GetOwnedOrganizationsByUserIDDesc", err)
ctx.Handle(500, "GetOwnedOrgsByUserIDDesc", err)
return nil
}
ctx.Data["Orgs"] = orgs