aboutsummaryrefslogtreecommitdiffhomepage
path: root/daemon
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-04-27 22:07:46 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-04-27 22:07:46 -0700
commitddd3af4b85f5a2fe85c17a9cc30cf54743b9eb59 (patch)
tree539b491fc9f67980b09a6ccd282454614a77f8b4 /daemon
parent6b360d08c1f6c8a6cd1b7608f7af734a3ceef8d7 (diff)
Do not use shared variable to translate templates
Diffstat (limited to 'daemon')
-rw-r--r--daemon/routes.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/daemon/routes.go b/daemon/routes.go
index 4f78503..74445c3 100644
--- a/daemon/routes.go
+++ b/daemon/routes.go
@@ -14,7 +14,6 @@ import (
"github.com/miniflux/miniflux/locale"
"github.com/miniflux/miniflux/middleware"
"github.com/miniflux/miniflux/reader/feed"
- "github.com/miniflux/miniflux/reader/opml"
"github.com/miniflux/miniflux/scheduler"
"github.com/miniflux/miniflux/storage"
"github.com/miniflux/miniflux/template"
@@ -29,7 +28,7 @@ func routes(cfg *config.Config, store *storage.Storage, feedHandler *feed.Handle
apiController := api.NewController(store, feedHandler)
feverController := fever.NewController(store)
- uiController := ui.NewController(cfg, store, pool, feedHandler, opml.NewHandler(store))
+ uiController := ui.NewController(cfg, store, pool, feedHandler)
apiHandler := handler.NewHandler(cfg, store, router, templateEngine, translator)
feverHandler := handler.NewHandler(cfg, store, router, templateEngine, translator)