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/org/teams.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'routers/org/teams.go') diff --git a/routers/org/teams.go b/routers/org/teams.go index 54e2fe72..0c16043a 100644 --- a/routers/org/teams.go +++ b/routers/org/teams.go @@ -12,16 +12,15 @@ 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" ) const ( - TEAMS tool.TplName = "org/team/teams" - TEAM_NEW tool.TplName = "org/team/new" - TEAM_MEMBERS tool.TplName = "org/team/members" - TEAM_REPOSITORIES tool.TplName = "org/team/repositories" + TEAMS = "org/team/teams" + TEAM_NEW = "org/team/new" + TEAM_MEMBERS = "org/team/members" + TEAM_REPOSITORIES = "org/team/repositories" ) func Teams(ctx *context.Context) { -- cgit v1.2.3