diff --git a/routers/user/home.go b/routers/user/home.go index 0f1466fd7..d23f304e9 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -90,7 +90,7 @@ func retrieveFeeds(ctx *context.Context, options models.GetFeedsOptions) { } // Dashboard render the dashborad page -func Dashboard(ctx *context.Context) { +func Dashboard(ctx *context.Context) { // showing dashboard see routes.go:417 ctxUser := getDashboardContextUser(ctx) if ctx.Written() { return @@ -395,7 +395,7 @@ func showOrgProfile(ctx *context.Context) { err error ) - fmt.Println("[DEBUG/home.go] ctx.IsSigned, ctx.User.IsAdmin: ", ctx.IsSigned, ", ", ctx.User.IsAdmin, " = ", ctx.IsSigned && ctx.User.IsAdmin) + fmt.Println("[DEBUG/user/home.go] ctx.IsSigned, ctx.User.IsAdmin: ", ctx.IsSigned, ", ", ctx.User.IsAdmin, " = ", ctx.IsSigned && ctx.User.IsAdmin) if ctx.IsSigned && !ctx.User.IsAdmin { env, err := org.AccessibleReposEnv(ctx.User.ID)