1
0
Fork 0
forked from forgejo/forgejo

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)