diff options
Diffstat (limited to 'routers/home.go')
-rw-r--r-- | routers/home.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/home.go b/routers/home.go index 10e75269b8..2dd223b748 100644 --- a/routers/home.go +++ b/routers/home.go @@ -172,7 +172,7 @@ func ExploreUsers(ctx *context.Context) { ctx.Data["PageIsExploreUsers"] = true RenderUserSearch(ctx, &UserSearchOptions{ - Type: models.USER_TYPE_INDIVIDUAL, + Type: models.UserTypeIndividual, Counter: models.CountUsers, Ranger: models.Users, PageSize: setting.UI.ExplorePagingNum, @@ -187,7 +187,7 @@ func ExploreOrganizations(ctx *context.Context) { ctx.Data["PageIsExploreOrganizations"] = true RenderUserSearch(ctx, &UserSearchOptions{ - Type: models.USER_TYPE_ORGANIZATION, + Type: models.UserTypeOrganization, Counter: models.CountOrganizations, Ranger: models.Organizations, PageSize: setting.UI.ExplorePagingNum, |