forked from forgejo/forgejo
Fix followers and following tabs in profile (#10202)
This commit is contained in:
parent
e273817154
commit
fe00886bef
6 changed files with 41 additions and 87 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue