22 lines
424 B
Go
Raw Normal View History

2017-07-22 13:04:54 +00:00
package amvs
import (
"github.com/aerogo/aero"
2018-04-14 21:23:00 +00:00
"github.com/animenotifier/notify.moe/components"
"github.com/animenotifier/notify.moe/utils"
2017-07-22 13:04:54 +00:00
)
2018-04-14 21:23:00 +00:00
// Latest AMVs.
func Latest(ctx *aero.Context) string {
user := utils.GetUser(ctx)
return ctx.HTML(components.AMVs(nil, -1, "", user))
}
// Best AMVs.
func Best(ctx *aero.Context) string {
user := utils.GetUser(ctx)
return ctx.HTML(components.AMVs(nil, -1, "", user))
2017-07-22 13:04:54 +00:00
}