aboutsummaryrefslogtreecommitdiff
path: root/server/core/handler.go
diff options
context:
space:
mode:
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)