Add admin routes

This commit is contained in:
2021-12-02 20:36:40 +00:00
parent 4011f3cace
commit 11d20eeb66
4 changed files with 46 additions and 9 deletions

View File

@ -32,12 +32,3 @@ func (h *Handler) accounts(c *gin.Context) {
c.HTML(http.StatusOK, "accounts.html", d)
}
type AdminData struct {
}
func (h *Handler) admin(c *gin.Context) {
d := AdminData{}
c.HTML(http.StatusOK, "accounts.html", d)
}