mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Session management refactoring
This commit is contained in:
parent
58acd1d5e3
commit
00257988ef
26 changed files with 465 additions and 276 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue