diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-17 01:14:10 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-17 01:14:10 -0400 |
commit | 1043ab506e09a1e313ef98ebe8a3650e0b1133f7 (patch) | |
tree | cc395835c66470d41e37ce5bfe073bcb40bda141 /routers | |
parent | 95cb7cb2add654da8b93be420014cad53ddbb1a4 (diff) | |
parent | d64a8e8d3aa5f1dc606860c0950a8b7dbebf944c (diff) | |
download | gitea-1043ab506e09a1e313ef98ebe8a3650e0b1133f7.tar.gz gitea-1043ab506e09a1e313ef98ebe8a3650e0b1133f7.zip |
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/single.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/routers/repo/single.go b/routers/repo/single.go index ac733b0b38..b16a706be6 100644 --- a/routers/repo/single.go +++ b/routers/repo/single.go @@ -73,7 +73,6 @@ func Single(ctx *middleware.Context, params martini.Params) { ctx.Data["Paths"] = Paths ctx.Data["Treenames"] = treenames ctx.Data["IsRepoToolbarSource"] = true - ctx.Data["IsRepositoryOwner"] = strings.ToLower(params["username"]) == ctx.User.LowerName ctx.Data["Files"] = files ctx.Render.HTML(200, "repo/single", ctx.Data) } @@ -90,7 +89,6 @@ func Setting(ctx *middleware.Context, params martini.Params) { ctx.Data["Title"] = title + " - settings" ctx.Data["IsRepoToolbarSetting"] = true - ctx.Data["IsRepositoryOwner"] = strings.ToLower(params["username"]) == ctx.User.LowerName ctx.Render.HTML(200, "repo/setting", ctx.Data) } |