Pārlūkot izejas kodu

repo commit list ui

FuXiaoHei 11 gadi atpakaļ
vecāks
revīzija
f0993ae3c8
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      routers/user/user.go

+ 2 - 0
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)
 }