Added basic AMV routes
This commit is contained in:
@ -9,6 +9,8 @@ import (
|
||||
"github.com/animenotifier/notify.moe/components"
|
||||
"github.com/animenotifier/notify.moe/layout"
|
||||
"github.com/animenotifier/notify.moe/pages/admin"
|
||||
"github.com/animenotifier/notify.moe/pages/amv"
|
||||
"github.com/animenotifier/notify.moe/pages/amvs"
|
||||
"github.com/animenotifier/notify.moe/pages/anime"
|
||||
"github.com/animenotifier/notify.moe/pages/animeimport"
|
||||
"github.com/animenotifier/notify.moe/pages/animelist"
|
||||
@ -139,6 +141,11 @@ func Configure(app *aero.Application) {
|
||||
l.Page("/character/:id/edit", character.Edit)
|
||||
l.Page("/character/:id/history", character.History)
|
||||
|
||||
// AMVs
|
||||
l.Page("/amvs", amvs.Latest)
|
||||
l.Page("/amvs/best", amvs.Best)
|
||||
l.Page("/amv/:id", amv.Get)
|
||||
|
||||
// Quotes
|
||||
l.Page("/quote/:id", quote.Get)
|
||||
l.Page("/quote/:id/edit", quote.Edit)
|
||||
|
Reference in New Issue
Block a user