summaryrefslogtreecommitdiffstats
path: root/routers/user
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-19 22:15:28 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-19 22:15:28 +0800
commita0e73e2b5411499719a7e02281c48ad40dedfa24 (patch)
treef76b9e5ac40f072309a44c3d82663c39f139b1d8 /routers/user
parent3634d1ee326fd285935c0a5992575583ef6467d4 (diff)
downloadgitea-a0e73e2b5411499719a7e02281c48ad40dedfa24.tar.gz
gitea-a0e73e2b5411499719a7e02281c48ad40dedfa24.zip
top nav arrow update
Diffstat (limited to 'routers/user')
-rw-r--r--routers/user/user.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/user/user.go b/routers/user/user.go
index 42030076d2..8c96607055 100644
--- a/routers/user/user.go
+++ b/routers/user/user.go
@@ -68,6 +68,8 @@ func Profile(ctx *middleware.Context, params martini.Params) {
ctx.Data["Repos"] = repos
}
+ ctx.Data["PageIsUserProfile"] = true // For navbar arrow.
+
ctx.HTML(200, "user/profile", ctx.Data)
}