summaryrefslogtreecommitdiff
path: root/internal/handlers/main.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-04-06 10:04:22 +0300
committerGrail Finder <wohilas@gmail.com>2025-04-06 10:04:22 +0300
commit1e5faf9b609fa230d763bccdd8520441c5498a15 (patch)
tree17a92182b49f1222b377fb009a9eff70a84b6a35 /internal/handlers/main.go
parent95c3ebfaf9fdb1e65e3dfaef177e4b6d20344009 (diff)
Feat: add mixed exercsisesHEADmaster
Diffstat (limited to 'internal/handlers/main.go')
-rw-r--r--internal/handlers/main.go2
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)
}