summaryrefslogtreecommitdiff
path: root/testrig/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'testrig/router.go')
-rw-r--r--testrig/router.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/testrig/router.go b/testrig/router.go
index 64b3842de..20317dae6 100644
--- a/testrig/router.go
+++ b/testrig/router.go
@@ -59,6 +59,5 @@ func NewTestRouter(db db.DB) *router.Router {
// ConfigureTemplatesWithGin will panic on any errors related to template loading during tests
func ConfigureTemplatesWithGin(engine *gin.Engine, templatePath string) {
- router.LoadTemplateFunctions(engine)
engine.LoadHTMLGlob(filepath.Join(templatePath, "*"))
}