From edaf14f2b6fd86f8dec99f67512a5c0095e391dc Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 5 Apr 2017 09:17:21 -0400 Subject: Refactoring: remove tool.TplName --- routers/repo/branch.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'routers/repo/branch.go') diff --git a/routers/repo/branch.go b/routers/repo/branch.go index 12b62507..71e9337e 100644 --- a/routers/repo/branch.go +++ b/routers/repo/branch.go @@ -12,13 +12,12 @@ import ( "github.com/gogits/git-module" "github.com/gogits/gogs/models" - "github.com/gogits/gogs/pkg/tool" "github.com/gogits/gogs/pkg/context" ) const ( - BRANCHES_OVERVIEW tool.TplName = "repo/branches/overview" - BRANCHES_ALL tool.TplName = "repo/branches/all" + BRANCHES_OVERVIEW = "repo/branches/overview" + BRANCHES_ALL = "repo/branches/all" ) type Branch struct { -- cgit v1.2.3