diff options
author | Unknwon <u@gogs.io> | 2015-12-09 00:32:53 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-09 00:32:53 -0500 |
commit | a576224d0ea0a6a48207002229ae38937bd038a3 (patch) | |
tree | 479bb167651a1301ca71b7175078c1e1be1336c0 /routers | |
parent | 989f30eb416f2d8709aaff9c235d555f8b109e36 (diff) | |
download | gitea-a576224d0ea0a6a48207002229ae38937bd038a3.tar.gz gitea-a576224d0ea0a6a48207002229ae38937bd038a3.zip |
unified name: IsViewBranch, IsViewCommit and IsViewTag
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/view.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/routers/repo/view.go b/routers/repo/view.go index 98b44f42e3..361d77a85a 100644 --- a/routers/repo/view.go +++ b/routers/repo/view.go @@ -53,9 +53,6 @@ func Home(ctx *middleware.Context) { treeLink += "/" + treename } - isViewBranch := ctx.Repo.IsBranch - ctx.Data["IsViewBranch"] = isViewBranch - treePath := treename if len(treePath) != 0 { treePath = treePath + "/" |