Added filters to editor lists

This commit is contained in:
2018-03-07 22:06:02 +01:00
parent 0c3ab006e7
commit af6bc391af
5 changed files with 46 additions and 4 deletions

View File

@ -200,8 +200,14 @@ func Configure(app *aero.Application) {
// Editor
l.Page("/editor", editor.Get)
l.Page("/editor/anilist", editor.AniList)
l.Page("/editor/anilist/:year", editor.AniList)
l.Page("/editor/anilist/:year/:type", editor.AniList)
l.Page("/editor/shoboi", editor.Shoboi)
l.Page("/editor/shoboi/:year", editor.Shoboi)
l.Page("/editor/shoboi/:year/:type", editor.Shoboi)
l.Page("/editor/genres", editor.Genres)
l.Page("/editor/genres/:year", editor.Genres)
l.Page("/editor/genres/:year/:type", editor.Genres)
// Mixed
l.Page("/database", database.Get)