Fix default template location in install
This commit is contained in:
parent
348e65f1ec
commit
1ca8c2faf2
|
@ -66,7 +66,7 @@ func install(app *App, qMap goyesql.Queries) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Default template.
|
// Default template.
|
||||||
tplBody, err := ioutil.ReadFile("templates/default.tpl")
|
tplBody, err := ioutil.ReadFile("email-templates/default.tpl")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
tplBody = []byte(tplTag)
|
tplBody = []byte(tplTag)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue