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/pull.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'routers/repo/pull.go') 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" ) -- cgit v1.2.3