diff options
author | Grail Finder <wohilas@gmail.com> | 2025-04-06 10:04:22 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2025-04-06 10:04:22 +0300 |
commit | 1e5faf9b609fa230d763bccdd8520441c5498a15 (patch) | |
tree | 17a92182b49f1222b377fb009a9eff70a84b6a35 /internal/handlers/main.go | |
parent | 95c3ebfaf9fdb1e65e3dfaef177e4b6d20344009 (diff) |
Diffstat (limited to 'internal/handlers/main.go')
-rw-r--r-- | internal/handlers/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handlers/main.go b/internal/handlers/main.go index b6ce093..34f37d9 100644 --- a/internal/handlers/main.go +++ b/internal/handlers/main.go @@ -171,7 +171,7 @@ func (h *Handlers) renderQuestion(w http.ResponseWriter, question *models.Questi *models.Question } - err = tmpl.ExecuteTemplate(w, "main", question) + err = tmpl.ExecuteTemplate(w, "question", question) if err != nil { h.log.Error("failed to render template", "error", err) } |