aboutsummaryrefslogtreecommitdiff
path: root/routers/repo/pull.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/pull.go
parent6fbb984ebf4f0d6804f0f83e6edb12ef0bb9a570 (diff)
Refactoring: remove tool.TplName
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r--routers/repo/pull.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index fc1a3817..6d420121 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -16,17 +16,17 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/models/errors"
- "github.com/gogits/gogs/pkg/tool"
"github.com/gogits/gogs/pkg/context"
"github.com/gogits/gogs/pkg/form"
"github.com/gogits/gogs/pkg/setting"
+ "github.com/gogits/gogs/pkg/tool"
)
const (
- FORK tool.TplName = "repo/pulls/fork"
- COMPARE_PULL tool.TplName = "repo/pulls/compare"
- PULL_COMMITS tool.TplName = "repo/pulls/commits"
- PULL_FILES tool.TplName = "repo/pulls/files"
+ FORK = "repo/pulls/fork"
+ COMPARE_PULL = "repo/pulls/compare"
+ PULL_COMMITS = "repo/pulls/commits"
+ PULL_FILES = "repo/pulls/files"
PULL_REQUEST_TEMPLATE_KEY = "PullRequestTemplate"
)