From 233c460a03cc738cf71a9710aec56c55e508a96d Mon Sep 17 00:00:00 2001 From: avadesian Date: Wed, 28 Jul 2021 10:14:36 +0800 Subject: [PATCH] remove unused code snippet --- routers/routes/routes.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 37ebdd8d5..c8f0d251c 100755 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -306,11 +306,6 @@ func RegisterRoutes(m *macaron.Macaron) { return "" }) m.Get("/", routers.Dashboard) - // func() { - // m.Get("", func(ctx *context.Context) { - // ctx.Redirect(setting.AppSubURL + "/dashboard") - // }) - // }, ignSignIn m.Get("/dashboard", routers.Dashboard) m.Group("/explore", func() { m.Get("", func(ctx *context.Context) {