Browse Source

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

Fix #3846
for-closed-social
Fluf 6 years ago
committed by techknowlogick
parent
commit
2a9799493a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/routes/routes.go

+ 1
- 1
routers/routes/routes.go 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")

Loading…
Cancel
Save