index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
routers
/
repo
/
branch.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'routers/repo/branch.go')
-rw-r--r--
routers/repo/branch.go
5
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 {