|
|
@@ -349,7 +349,7 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
m.Get("/home/term", routers.HomeTerm) |
|
|
m.Get("/home/term", routers.HomeTerm) |
|
|
m.Get("/home/privacy", routers.HomePrivacy) |
|
|
m.Get("/home/privacy", routers.HomePrivacy) |
|
|
m.Get("/extension/tuomin/upload", modelapp.ProcessImageUI) |
|
|
m.Get("/extension/tuomin/upload", modelapp.ProcessImageUI) |
|
|
m.Post("/extension/tuomin/upload", modelapp.ProcessImage) |
|
|
|
|
|
|
|
|
m.Post("/extension/tuomin/upload", reqSignIn, modelapp.ProcessImage) |
|
|
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") |
|
|
|