From c10d2e0d450f5c442af6ec7f1a25d403258a844b Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 21 Apr 2015 22:30:47 -0600 Subject: [PATCH] Make the thing compile --- middleware/templates/templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/templates/templates.go b/middleware/templates/templates.go index 8361e465d..14743ff32 100644 --- a/middleware/templates/templates.go +++ b/middleware/templates/templates.go @@ -49,7 +49,7 @@ func (t Templates) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error // Execute it var buf bytes.Buffer - err = bc.Template.Execute(&buf, ctx) + err = tpl.Execute(&buf, ctx) if err != nil { return http.StatusInternalServerError, err }