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

@ -6,7 +6,7 @@ package profilequotes
// )
// // Added shows all quotes added by a particular user.
// func Added(ctx *aero.Context) string {
// func Added(ctx aero.Context) error {
// return render(ctx, addedQuotes)
// }

View File

@ -6,7 +6,7 @@ package profilequotes
// )
// // Liked shows all quotes liked by a particular user.
// func Liked(ctx *aero.Context) string {
// func Liked(ctx aero.Context) error {
// return render(ctx, likedQuotes)
// }

View File

@ -16,7 +16,7 @@ package profilequotes
// )
// // render renders the quotes on user profiles.
// func render(ctx *aero.Context, fetch func(userID string) []*arn.Quote) string {
// func render(ctx aero.Context, fetch func(userID string) []*arn.Quote) string {
// nick := ctx.Get("nick")
// index, _ := ctx.GetInt("index")
// user := utils.GetUser(ctx)
@ -53,5 +53,5 @@ package profilequotes
// }
// // Otherwise, send the full page
// return ctx.HTML(components.ProfileQuotes(quotes, viewUser, nextIndex, user, ctx.URI()))
// return ctx.HTML(components.ProfileQuotes(quotes, viewUser, nextIndex, user, ctx.Path()))
// }