1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00

Make home.tmpl visible with Signin-View enabled (#4040)

Fix #3846
This commit is contained in:
Fluf 2018-05-24 15:51:28 -04:00 committed by techknowlogick
parent 8ebd15e6a6
commit 2a9799493a

View File

@ -168,7 +168,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Head("/", func() string { m.Head("/", func() string {
return "" return ""
}) })
m.Get("/", ignSignIn, routers.Home) m.Get("/", routers.Home)
m.Group("/explore", func() { m.Group("/explore", func() {
m.Get("", func(ctx *context.Context) { m.Get("", func(ctx *context.Context) {
ctx.Redirect(setting.AppSubURL + "/explore/repos") ctx.Redirect(setting.AppSubURL + "/explore/repos")