aboutsummaryrefslogtreecommitdiffstats
path: root/routers/routes
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2020-02-09 22:18:01 +0200
committerGitHub <noreply@github.com>2020-02-09 22:18:01 +0200
commitfe00886befebca6e532dfc49813c3273c4bfff68 (patch)
treef7549d49a131409e502e59bf4e522706f48b8f96 /routers/routes
parente273817154e98b7b675e43e97cd17f48a603cf9e (diff)
downloadgitea-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.go7
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)