summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-09 00:32:53 -0500
committerUnknwon <u@gogs.io>2015-12-09 00:32:53 -0500
commita576224d0ea0a6a48207002229ae38937bd038a3 (patch)
tree479bb167651a1301ca71b7175078c1e1be1336c0 /routers
parent989f30eb416f2d8709aaff9c235d555f8b109e36 (diff)
downloadgitea-a576224d0ea0a6a48207002229ae38937bd038a3.tar.gz
gitea-a576224d0ea0a6a48207002229ae38937bd038a3.zip
unified name: IsViewBranch, IsViewCommit and IsViewTag
Diffstat (limited to 'routers')
-rw-r--r--routers/repo/view.go3
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 + "/"