Started working on user map
This commit is contained in:
11
pages/users/map.go
Normal file
11
pages/users/map.go
Normal file
@ -0,0 +1,11 @@
|
||||
package users
|
||||
|
||||
import (
|
||||
"github.com/aerogo/aero"
|
||||
"github.com/animenotifier/notify.moe/components"
|
||||
)
|
||||
|
||||
// Map shows a map of all users.
|
||||
func Map(ctx *aero.Context) string {
|
||||
return ctx.HTML(components.UserMap(ctx.URI()))
|
||||
}
|
Reference in New Issue
Block a user