51 lines
1.9 KiB
Go
51 lines
1.9 KiB
Go
package pages
|
|
|
|
import (
|
|
"github.com/aerogo/aero"
|
|
"github.com/animenotifier/notify.moe/pages/index/amvroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/animeroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/apiroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/characterroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/companyroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/coreroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/exploreroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/forumroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/grouproutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/importroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/quoteroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/searchroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/settingsroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/shoproutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/soundtrackroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/staffroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/userlistroutes"
|
|
"github.com/animenotifier/notify.moe/pages/index/userroutes"
|
|
)
|
|
|
|
// Configure registers the page routes in the application.
|
|
func Configure(app *aero.Application) {
|
|
// Register the routes
|
|
coreroutes.Register(app)
|
|
userroutes.Register(app)
|
|
characterroutes.Register(app)
|
|
exploreroutes.Register(app)
|
|
amvroutes.Register(app)
|
|
forumroutes.Register(app)
|
|
animeroutes.Register(app)
|
|
userlistroutes.Register(app)
|
|
quoteroutes.Register(app)
|
|
companyroutes.Register(app)
|
|
soundtrackroutes.Register(app)
|
|
grouproutes.Register(app)
|
|
searchroutes.Register(app)
|
|
importroutes.Register(app)
|
|
shoproutes.Register(app)
|
|
settingsroutes.Register(app)
|
|
staffroutes.Register(app)
|
|
apiroutes.Register(app)
|
|
|
|
// Mixed
|
|
// app.Get("/database", database.Get)
|
|
// app.Get("/api/select/:data-type/where/:field/is/:field-value", database.Select)
|
|
}
|