index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
routers
/
user
/
user.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'routers/user/user.go')
-rw-r--r--
routers/user/user.go
2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/user/user.go b/routers/user/user.go
index d702f2b9..5751a681 100644
--- a/
routers/user/user.go
+++ b/
routers/user/user.go
@@ -70,6 +70,8 @@ func Profile(ctx *middleware.Context, params martini.Params) {
ctx.Data["Repos"] = repos
}
+ ctx.Data["PageIsUserProfile"] = true // For navbar arrow.
+
ctx.Render.HTML(200, "user/profile", ctx.Data)
}