Browse Source

remove unused code snippet

tags/v1.21.12.1
avadesian 4 years ago
parent
commit
233c460a03
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      routers/routes/routes.go

+ 0
- 5
routers/routes/routes.go View File

@@ -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) {


Loading…
Cancel
Save