aboutsummaryrefslogtreecommitdiff
path: root/server/core/handler.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net> 2017-12-16 18:07:53 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net> 2017-12-16 18:07:53 -0800
commit00257988ef1707a028cd7dd0b1f8f68e6e8fac53 (patch)
treef54ccd93abb5054336baea1f0a4a99f8700fc81a /server/core/handler.go
parent58acd1d5e3a997d27f60549b51bdf41df900c6c6 (diff)
downloadv2-00257988ef1707a028cd7dd0b1f8f68e6e8fac53.tar.gz
v2-00257988ef1707a028cd7dd0b1f8f68e6e8fac53.tar.zst
v2-00257988ef1707a028cd7dd0b1f8f68e6e8fac53.zip
Session management refactoring
Diffstat (limited to 'server/core/handler.go')
-rw-r--r--server/core/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/core/handler.go b/server/core/handler.go
index c55cf792..a5d84afa 100644
--- a/server/core/handler.go
+++ b/server/core/handler.go
@@ -36,7 +36,7 @@ func (h *Handler) Use(f HandlerFunc) http.Handler {
defer helper.ExecutionTime(time.Now(), r.URL.Path)
logger.Debug("[HTTP] %s %s", r.Method, r.URL.Path)
- ctx := NewContext(w, r, h.store, h.router)
+ ctx := NewContext(w, r, h.store, h.router, h.translator)
request := NewRequest(w, r)
response := NewResponse(w, r, h.template)