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/admin/auths.go | |
parent | 6fbb984ebf4f0d6804f0f83e6edb12ef0bb9a570 (diff) |
Refactoring: remove tool.TplName
Diffstat (limited to 'routers/admin/auths.go')
-rw-r--r-- | routers/admin/auths.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/routers/admin/auths.go b/routers/admin/auths.go index 1aba22a2..81a61957 100644 --- a/routers/admin/auths.go +++ b/routers/admin/auths.go @@ -13,16 +13,15 @@ import ( "github.com/gogits/gogs/models" "github.com/gogits/gogs/pkg/auth/ldap" - "github.com/gogits/gogs/pkg/tool" "github.com/gogits/gogs/pkg/context" "github.com/gogits/gogs/pkg/form" "github.com/gogits/gogs/pkg/setting" ) const ( - AUTHS tool.TplName = "admin/auth/list" - AUTH_NEW tool.TplName = "admin/auth/new" - AUTH_EDIT tool.TplName = "admin/auth/edit" + AUTHS = "admin/auth/list" + AUTH_NEW = "admin/auth/new" + AUTH_EDIT = "admin/auth/edit" ) func Authentications(ctx *context.Context) { |