From 8d7e708d98a3a46ba3ba08f9c8deeb4838bb8ca5 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Fri, 17 May 2024 23:37:43 +0200 Subject: Render posts completely using common rendering methods The aim is to reduce reliance on custom logic in the handlers for every protocol, eventually outsourcing all of it into `render.Methods`, leaving each protocol to simply direct calls to the correct template. --- src/http/assets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/assets.go') diff --git a/src/http/assets.go b/src/http/assets.go index 79ab98c..5a47152 100644 --- a/src/http/assets.go +++ b/src/http/assets.go @@ -34,7 +34,7 @@ func (a *api) managePostAssetsHandler() http.Handler { IDs: ids, } - executeTemplate(rw, r, tpl, tplPayload) + a.executeTemplate(rw, r, tpl, tplPayload) }) } -- cgit v1.2.3