2018-04-25 18:03:35 +00:00
|
|
|
package userlistroutes
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/aerogo/layout"
|
|
|
|
"github.com/animenotifier/notify.moe/pages/users"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Register registers the page routes.
|
|
|
|
func Register(l *layout.Layout) {
|
|
|
|
// User lists
|
|
|
|
l.Page("/users", users.Active)
|
|
|
|
l.Page("/users/map", users.Map)
|
|
|
|
l.Page("/users/noavatar", users.ActiveNoAvatar)
|
|
|
|
l.Page("/users/games/osu", users.Osu)
|
|
|
|
l.Page("/users/games/overwatch", users.Overwatch)
|
2018-10-30 20:24:12 +00:00
|
|
|
l.Page("/users/games/ffxiv", users.FFXIV)
|
2018-04-25 18:03:35 +00:00
|
|
|
l.Page("/users/staff", users.Staff)
|
|
|
|
l.Page("/users/pro", users.Pro)
|
|
|
|
l.Page("/users/editors", users.Editors)
|
2018-11-06 11:20:19 +00:00
|
|
|
l.Page("/users/country/:country", users.ByCountry)
|
2018-04-25 18:03:35 +00:00
|
|
|
}
|