aboutsummaryrefslogtreecommitdiffstats
path: root/routers/org
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-07-26 00:24:27 -0400
committerUnknwon <joe2010xtmf@163.com>2014-07-26 00:24:27 -0400
commit8dd07c0ddd99ae626a1ec8c06f75f27fed51269f (patch)
tree261d3c9911dabc58c1ac54e4e36b3dee24d2032b /routers/org
parent0a739cf9ac901f54484c34bba8322418dedb09b0 (diff)
downloadgitea-8dd07c0ddd99ae626a1ec8c06f75f27fed51269f.tar.gz
gitea-8dd07c0ddd99ae626a1ec8c06f75f27fed51269f.zip
New UI merge in progress
Diffstat (limited to 'routers/org')
-rw-r--r--routers/org/org.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/routers/org/org.go b/routers/org/org.go
index 337fe89eb7..4c8854974d 100644
--- a/routers/org/org.go
+++ b/routers/org/org.go
@@ -7,7 +7,7 @@ package org
import (
"github.com/go-martini/martini"
- "github.com/gogits/gogs/models"
+ "github.com/gogits/gogs-ng/models"
"github.com/gogits/gogs/modules/auth"
"github.com/gogits/gogs/modules/base"
"github.com/gogits/gogs/modules/log"
@@ -114,11 +114,11 @@ func Dashboard(ctx *middleware.Context, params martini.Params) {
return
}
- if err := ctx.User.GetOrganizations(); err != nil {
- ctx.Handle(500, "home.Dashboard(GetOrganizations)", err)
- return
- }
- ctx.Data["Orgs"] = ctx.User.Orgs
+ // if err := ctx.User.GetOrganizations(); err != nil {
+ // ctx.Handle(500, "home.Dashboard(GetOrganizations)", err)
+ // return
+ // }
+ // ctx.Data["Orgs"] = ctx.User.Orgs
ctx.Data["ContextUser"] = org
ctx.Data["MyRepos"], err = models.GetRepositories(org.Id, true)