1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-26 03:18:28 +00:00

Fix followers and following tabs in profile (#10202) (#10203)

This commit is contained in:
Lauris BH
2020-02-09 23:00:24 +02:00
committed by GitHub
parent b16c555541
commit 80eb50655a
6 changed files with 35 additions and 87 deletions

View File

@@ -475,12 +475,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)