aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/repo.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-07 14:02:09 -0400
committerUnknwon <u@gogs.io>2015-09-07 14:02:09 -0400
commitcc83043edc2ddda52d3cbd2748b0fb4fe6406369 (patch)
treeeb5ef63723021daed80d52a2e713d4934d548f6b /routers/repo/repo.go
parent3d9b98fae4782a45edc3f53ad4561fe7e14a4377 (diff)
downloadgitea-cc83043edc2ddda52d3cbd2748b0fb4fe6406369.tar.gz
gitea-cc83043edc2ddda52d3cbd2748b0fb4fe6406369.zip
minor fix on template
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r--routers/repo/repo.go2
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