aboutsummaryrefslogtreecommitdiffhomepage
path: root/http/handler/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'http/handler/handler.go')
-rw-r--r--http/handler/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/handler/handler.go b/http/handler/handler.go
index 882e0bd..d698b2e 100644
--- a/http/handler/handler.go
+++ b/http/handler/handler.go
@@ -45,7 +45,7 @@ func (h *Handler) Use(f ControllerFunc) http.Handler {
ctx := NewContext(r, h.store, h.router, h.translator)
request := NewRequest(r)
- response := NewResponse(w, r, h.template)
+ response := NewResponse(h.cfg, w, r, h.template)
language := ctx.UserLanguage()
if language != "" {