fix some typos (#1082)

This commit is contained in:
Lunny Xiao authored and GitHub committed 2017-02-28 12:56:15 +08:00
1 parent 4b286f282a
commit c2eef171ff
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -296,7 +296,7 @@ func Home(ctx *context.Context) {
ctx.HTML(200, tplRepoHome)
}
// RenderUserCards render a page show users accroding the input templaet
// RenderUserCards render a page show users according the input templaet
func RenderUserCards(ctx *context.Context, total int, getter func(page int) ([]*models.User, error), tpl base.TplName) {
page := ctx.QueryInt("page")
if page <= 0 {