summaryrefslogtreecommitdiffstats
path: root/routers/user
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-16 11:43:23 -0500
committerUnknwon <u@gogs.io>2015-11-16 11:43:23 -0500
commit917d334ebd0843b116876dd267b39bd5e314b3a6 (patch)
tree96714f884912757d3d9b0a358fea2f7f8400e8f0 /routers/user
parentbb1fbe4e70351afccf2eb57863ed3022a59bf43e (diff)
downloadgitea-917d334ebd0843b116876dd267b39bd5e314b3a6.tar.gz
gitea-917d334ebd0843b116876dd267b39bd5e314b3a6.zip
only show user's activities in profile
Diffstat (limited to 'routers/user')
-rw-r--r--routers/user/home.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index b98d7e1157..98033fc17d 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -353,7 +353,7 @@ func Profile(ctx *middleware.Context) {
ctx.Data["TabName"] = tab
switch tab {
case "activity":
- actions, err := models.GetFeeds(u.Id, 0, false)
+ actions, err := models.GetFeeds(u.Id, 0, true)
if err != nil {
ctx.Handle(500, "GetFeeds", err)
return