summaryrefslogtreecommitdiff
path: root/srv/src/api/render.go
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-17 15:25:13 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-17 15:25:13 -0600
commite406ad6e7c82592d3bbaa1cf93ffc1612e4f196c (patch)
tree4cef5a3ecb9ff2906931f0e8815b5d634a9c38a2 /srv/src/api/render.go
parent7b7bdcf57a5fa1e02041e3ef563c55f31d908f67 (diff)
Re-arrange how api endpoints are defined
Diffstat (limited to 'srv/src/api/render.go')
-rw-r--r--srv/src/api/render.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/srv/src/api/render.go b/srv/src/api/render.go
index 8fc2cb6..dfa665f 100644
--- a/srv/src/api/render.go
+++ b/srv/src/api/render.go
@@ -197,9 +197,9 @@ func (a *api) renderDumbHandler(tplName string) http.Handler {
})
}
-func (a *api) renderAdminAssets() http.Handler {
+func (a *api) renderPostAssetsIndexHandler() http.Handler {
- tpl := a.mustParseTpl("admin/assets.html")
+ tpl := a.mustParseTpl("admin-assets.html")
return http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {