aboutsummaryrefslogtreecommitdiff
path: root/routers/repo/branch.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-04-05 09:17:21 -0400
committerUnknwon <u@gogs.io>2017-04-05 09:17:21 -0400
commitedaf14f2b6fd86f8dec99f67512a5c0095e391dc (patch)
treeec81011348a0c8df3995c36b46e2646472106800 /routers/repo/branch.go
parent6fbb984ebf4f0d6804f0f83e6edb12ef0bb9a570 (diff)
Refactoring: remove tool.TplName
Diffstat (limited to 'routers/repo/branch.go')
-rw-r--r--routers/repo/branch.go5
1 files changed, 2 insertions, 3 deletions
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 {