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

@ -15,7 +15,7 @@ package profile
// type stats map[string]float64
// // GetStatsByUser shows statistics for a given user.
// func GetStatsByUser(ctx *aero.Context) string {
// func GetStatsByUser(ctx aero.Context) error {
// nick := ctx.Get("nick")
// viewUser, err := arn.GetUserByNick(nick)
// userStats := utils.UserStats{}
@ -98,5 +98,5 @@ package profile
// arn.NewPieChart("Soundtracks", trackTags),
// }
// return ctx.HTML(components.ProfileStats(&userStats, viewUser, utils.GetUser(ctx), ctx.URI()))
// return ctx.HTML(components.ProfileStats(&userStats, viewUser, utils.GetUser(ctx), ctx.Path()))
// }