diff options
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 98b44f42..361d77a8 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 + "/" |