diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 4f1f6f314..37ebdd8d5 100755 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -305,7 +305,12 @@ func RegisterRoutes(m *macaron.Macaron) { m.Head("/", func() string { return "" }) - m.Get("/", routers.ExploreRepos) + 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) {