Reimplemented /genres page

This commit is contained in:
2017-11-30 02:59:19 +01:00
parent 91b6ae7efd
commit d290e2d505
3 changed files with 13 additions and 13 deletions

View File

@ -24,6 +24,7 @@ import (
"github.com/animenotifier/notify.moe/pages/explore"
"github.com/animenotifier/notify.moe/pages/forum"
"github.com/animenotifier/notify.moe/pages/genre"
"github.com/animenotifier/notify.moe/pages/genres"
"github.com/animenotifier/notify.moe/pages/group"
"github.com/animenotifier/notify.moe/pages/groups"
"github.com/animenotifier/notify.moe/pages/home"
@ -202,6 +203,6 @@ func Configure(app *aero.Application) {
app.Post("/api/paypal/payment/create", paypal.CreatePayment)
// Genres
// l.Page("/genres", genres.Get)
l.Page("/genres", genres.Get)
l.Page("/genre/:name", genre.Get)
}