Upgraded to latest aero version

This commit is contained in:
2019-06-01 13:55:49 +09:00
parent ae591e5e7e
commit 28db818c37
196 changed files with 645 additions and 593 deletions

View File

@ -12,7 +12,7 @@ package profile
// const postLimit = 10
// // GetPostsByUser shows all forum posts of a particular user.
// func GetPostsByUser(ctx *aero.Context) string {
// func GetPostsByUser(ctx aero.Context) error {
// nick := ctx.Get("nick")
// viewUser, err := arn.GetUserByNick(nick)
@ -27,6 +27,6 @@ package profile
// posts = posts[:postLimit]
// }
// return ctx.HTML(components.LatestPosts(arn.ToPostables(posts), viewUser, utils.GetUser(ctx), ctx.URI()))
// return ctx.HTML(components.LatestPosts(arn.ToPostables(posts), viewUser, utils.GetUser(ctx), ctx.Path()))
// }