Started working on user map

This commit is contained in:
2018-04-16 23:01:34 +02:00
parent b5a3ec2f86
commit b3473be89a
6 changed files with 59 additions and 0 deletions

11
pages/users/map.go Normal file
View 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()))
}