Make the thing compile

This commit is contained in:
Matthew Holt 2015-04-21 22:30:47 -06:00
parent 1a8f753303
commit c10d2e0d45

View File

@ -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
}