summaryrefslogtreecommitdiffstats
path: root/routers/user
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-14 20:07:42 -0500
committerUnknwon <u@gogs.io>2016-02-14 20:07:42 -0500
commita1d97e8f5c13d4380abe761ed64d0ab59b779167 (patch)
treea3f542336e3856df14e4036efec69215e9300825 /routers/user
parentdaa43cfb6e6ed4118676e55d47d8816bab2379e5 (diff)
downloadgitea-a1d97e8f5c13d4380abe761ed64d0ab59b779167.tar.gz
gitea-a1d97e8f5c13d4380abe761ed64d0ab59b779167.zip
Minor fix for #2567
Diffstat (limited to 'routers/user')
-rw-r--r--routers/user/home.go2
-rw-r--r--routers/user/profile.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index d48f28316e..fa8c1364ba 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -140,7 +140,7 @@ func Dashboard(ctx *middleware.Context) {
ctx.Data["MirrorCount"] = len(mirrors)
ctx.Data["Mirrors"] = mirrors
- retrieveFeeds(ctx, ctx.User.Id, ctxUser.Id, 0, false)
+ retrieveFeeds(ctx, ctxUser.Id, ctx.User.Id, 0, false)
if ctx.Written() {
return
}
diff --git a/routers/user/profile.go b/routers/user/profile.go
index c1ebc3bf83..c1f68c03ee 100644
--- a/routers/user/profile.go
+++ b/routers/user/profile.go
@@ -86,7 +86,7 @@ func Profile(ctx *middleware.Context) {
ctx.Data["TabName"] = tab
switch tab {
case "activity":
- retrieveFeeds(ctx, -1, u.Id, 0, true)
+ retrieveFeeds(ctx, u.Id, -1, 0, true)
if ctx.Written() {
return
}