From e406ad6e7c82592d3bbaa1cf93ffc1612e4f196c Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 17 May 2022 15:25:13 -0600 Subject: Re-arrange how api endpoints are defined --- srv/src/api/render.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'srv/src/api/render.go') 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) { -- cgit v1.2.3