From 20358b29b80f4ea1b651b62da17333dcf7c931f4 Mon Sep 17 00:00:00 2001 From: ByteList Date: Fri, 1 Feb 2019 11:08:59 +0100 Subject: [PATCH] Debug --- routers/user/home.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routers/user/home.go b/routers/user/home.go index d23f304e9..0c4393999 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) { // showing dashboard see routes.go:417 +func Dashboard(ctx *context.Context) { // showing dashboard see routes.go:417 ctxUser := getDashboardContextUser(ctx) if ctx.Written() { return @@ -132,6 +132,7 @@ func Dashboard(ctx *context.Context) { // showing dashboard see routes.go:417 } ctx.Data["MirrorCount"] = len(mirrors) ctx.Data["Mirrors"] = mirrors + ctx.Data["Repos"] = mirrors retrieveFeeds(ctx, models.GetFeedsOptions{ RequestedUser: ctxUser,