Reimplemented /genres page
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user