Added route to view test

This commit is contained in:
gballan committed 2025-07-14 13:53:50 -04:00
1 parent f3a2376c19
commit 65550c983c
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ func TestGetView(c flamego.Context, t template.Template, data template.Data) {
models.DB.Find(&test, testID)
data["test"] = test
data["title"] = test.Name
data["title"] = test.Title
t.HTML(http.StatusOK, "test/view")
}