16 lines
258 B
Go
Raw Normal View History

2018-04-22 15:43:20 +00:00
package characters
import (
"github.com/aerogo/aero"
2019-06-03 09:32:43 +00:00
"github.com/animenotifier/notify.moe/arn"
2018-04-22 15:43:20 +00:00
)
// Best characters.
2019-06-01 04:55:49 +00:00
func Best(ctx aero.Context) error {
2018-04-22 15:43:20 +00:00
characters := fetchAll()
2018-10-27 02:01:21 +00:00
arn.SortCharactersByLikes(characters)
2018-04-22 15:43:20 +00:00
return render(ctx, characters)
}