diff options
Diffstat (limited to 'internal/router/template.go')
-rw-r--r-- | internal/router/template.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/router/template.go b/internal/router/template.go index c033c8f07..ebd8629e8 100644 --- a/internal/router/template.go +++ b/internal/router/template.go @@ -31,7 +31,7 @@ import ( ) // LoadTemplates loads html templates for use by the given engine -func loadTemplates(engine *gin.Engine) error { +func LoadTemplates(engine *gin.Engine) error { templateBaseDir := config.GetWebTemplateBaseDir() if templateBaseDir == "" { return fmt.Errorf("%s cannot be empty and must be a relative or absolute path", config.WebTemplateBaseDirFlag()) |