diff options
author | Unknwon <u@gogs.io> | 2017-04-05 09:17:21 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-04-05 09:17:21 -0400 |
commit | edaf14f2b6fd86f8dec99f67512a5c0095e391dc (patch) | |
tree | ec81011348a0c8df3995c36b46e2646472106800 /routers/org/teams.go | |
parent | 6fbb984ebf4f0d6804f0f83e6edb12ef0bb9a570 (diff) |
Refactoring: remove tool.TplName
Diffstat (limited to 'routers/org/teams.go')
-rw-r--r-- | routers/org/teams.go | 9 |
1 files changed, 4 insertions, 5 deletions
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) { |