diff options
Diffstat (limited to 'routers/user/profile.go')
-rw-r--r-- | routers/user/profile.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/routers/user/profile.go b/routers/user/profile.go index 6e118d03..baf9a941 100644 --- a/routers/user/profile.go +++ b/routers/user/profile.go @@ -13,15 +13,14 @@ 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/setting" "github.com/gogits/gogs/routers/repo" ) const ( - FOLLOWERS tool.TplName = "user/meta/followers" - STARS tool.TplName = "user/meta/stars" + FOLLOWERS = "user/meta/followers" + STARS = "user/meta/stars" ) func GetUserByName(ctx *context.Context, name string) *models.User { |