diff options
author | Unknwon <u@gogs.io> | 2015-09-07 14:02:09 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-07 14:02:09 -0400 |
commit | cc83043edc2ddda52d3cbd2748b0fb4fe6406369 (patch) | |
tree | eb5ef63723021daed80d52a2e713d4934d548f6b /routers | |
parent | 3d9b98fae4782a45edc3f53ad4561fe7e14a4377 (diff) | |
download | gitea-cc83043edc2ddda52d3cbd2748b0fb4fe6406369.tar.gz gitea-cc83043edc2ddda52d3cbd2748b0fb4fe6406369.zip |
minor fix on template
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go index 567b717a70..8a0c5f975c 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -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 |