Slowly moving away from stylus to scarlet

This commit is contained in:
2016-11-27 23:28:22 +09:00
parent 105cf0d128
commit adb6ca1e0c
31 changed files with 92 additions and 28 deletions

View File

@ -12,7 +12,7 @@ func Get(ctx *aero.Context) string {
genre, err := arn.GetGenre(genreName)
if err != nil {
return err.Error()
return ctx.Error(404, "Genre not found", err)
}
return ctx.HTML(components.Genre(genre))