diff options
Diffstat (limited to 'routers/routes/routes.go')
-rw-r--r-- | routers/routes/routes.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 93ce220b00..e18ac0923e 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -34,6 +34,7 @@ import ( "code.gitea.io/gitea/routers/repo" "code.gitea.io/gitea/routers/user" userSetting "code.gitea.io/gitea/routers/user/setting" + "code.gitea.io/gitea/services/mailer" // to registers all internal adapters _ "code.gitea.io/gitea/modules/session" @@ -166,7 +167,7 @@ func NewMacaron() *macaron.Macaron { )) m.Use(templates.HTMLRenderer()) - models.InitMailRender(templates.Mailer()) + mailer.InitMailRender(templates.Mailer()) localeNames, err := options.Dir("locale") |