1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00

Add AutoHead functionality. (#5186)

Fixes #5153
This commit is contained in:
zeripath 2018-10-30 15:08:49 +00:00 committed by techknowlogick
parent 220ee6ae42
commit a3e084716e

View file

@ -134,6 +134,7 @@ func NewMacaron() *macaron.Macaron {
DisableDebug: !setting.EnablePprof,
}))
m.Use(context.Contexter())
m.SetAutoHead(true)
return m
}