User should always be last function parameter

This commit is contained in:
2018-07-07 16:19:06 +09:00
parent 9c198dc1f7
commit 256632e817
2 changed files with 2 additions and 2 deletions

View File

@ -39,5 +39,5 @@ func Get(ctx *aero.Context) string {
return ctx.Error(http.StatusNotFound, "Anime episode not found")
}
return ctx.HTML(components.AnimeEpisode(anime, episode, user, episodeIndex))
return ctx.HTML(components.AnimeEpisode(anime, episode, episodeIndex, user))
}