1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-12 13:37:20 +00:00

Fix followers and following tabs in profile (#10202)

This commit is contained in:
Lauris BH
2020-02-09 22:18:01 +02:00
committed by GitHub
parent e273817154
commit fe00886bef
6 changed files with 41 additions and 87 deletions

View File

@ -490,12 +490,7 @@ func RegisterRoutes(m *macaron.Macaron) {
// ***** END: Admin *****
m.Group("", func() {
m.Group("/:username", func() {
m.Get("", user.Profile)
m.Get("/followers", user.Followers)
m.Get("/following", user.Following)
})
m.Get("/:username", user.Profile)
m.Get("/attachments/:uuid", repo.GetAttachment)
}, ignSignIn)