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/admin/auths.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'routers/admin/auths.go') 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) { -- cgit v1.2.3