summaryrefslogtreecommitdiffstats
path: root/routers/org/org.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/org/org.go')
-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)