diff options
author | Lauris BH <lauris@nix.lv> | 2020-02-09 22:18:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-09 22:18:01 +0200 |
commit | fe00886befebca6e532dfc49813c3273c4bfff68 (patch) | |
tree | f7549d49a131409e502e59bf4e522706f48b8f96 /routers/routes | |
parent | e273817154e98b7b675e43e97cd17f48a603cf9e (diff) | |
download | gitea-fe00886befebca6e532dfc49813c3273c4bfff68.tar.gz gitea-fe00886befebca6e532dfc49813c3273c4bfff68.zip |
Fix followers and following tabs in profile (#10202)
Diffstat (limited to 'routers/routes')
-rw-r--r-- | routers/routes/routes.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go index a06eb46ad1..ff9e0da220 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -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) |