Upgraded to latest aero version
This commit is contained in:
@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
// Best renders the best soundtracks.
|
||||
func Best(ctx *aero.Context) string {
|
||||
func Best(ctx aero.Context) error {
|
||||
// Fetch all eligible tracks
|
||||
tracks := fetchAll()
|
||||
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
// Latest renders the latest soundtracks.
|
||||
func Latest(ctx *aero.Context) string {
|
||||
func Latest(ctx aero.Context) error {
|
||||
// Fetch all eligible tracks
|
||||
tracks := fetchAll()
|
||||
|
||||
|
@ -14,7 +14,7 @@ const (
|
||||
)
|
||||
|
||||
// render renders the soundracks page with the given tracks.
|
||||
func render(ctx *aero.Context, allTracks []*arn.SoundTrack) string {
|
||||
func render(ctx aero.Context, allTracks []*arn.SoundTrack) error {
|
||||
user := utils.GetUser(ctx)
|
||||
index, _ := ctx.GetInt("index")
|
||||
tag := ctx.Get("tag")
|
||||
|
@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
// FilterByTag renders the best soundtracks filtered by tag.
|
||||
func FilterByTag(ctx *aero.Context) string {
|
||||
func FilterByTag(ctx aero.Context) error {
|
||||
tag := ctx.Get("tag")
|
||||
|
||||
// Fetch all eligible tracks
|
||||
|
Reference in New Issue
Block a user