From fbc77679a9c8056885bdd937c125db400242be6a Mon Sep 17 00:00:00 2001 From: ByteList Date: Thu, 31 Jan 2019 16:35:32 +0100 Subject: [PATCH] Debug --- routers/user/home.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)