aboutsummaryrefslogtreecommitdiff
path: root/pkg/context/context.go
diff options
context:
space:
mode:
authorunknwon <u@gogs.io>2019-07-28 14:59:51 -0700
committerunknwon <u@gogs.io>2019-07-28 14:59:51 -0700
commitd775fe793605757e6f51057da9913ad5a11f6336 (patch)
tree507fcd131e1bba93c359c174a6a9015ad508b4ed /pkg/context/context.go
parentdc13eb6df0655ba9bb61669e9939f21d23ef891d (diff)
pkg/context: change banner file path (#5750)
Diffstat (limited to 'pkg/context/context.go')
-rw-r--r--pkg/context/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/context/context.go b/pkg/context/context.go
index 33ae8b79..bcb87a9a 100644
--- a/pkg/context/context.go
+++ b/pkg/context/context.go
@@ -327,7 +327,7 @@ func Contexter() macaron.Handler {
c.Data["ShowFooterBranding"] = setting.ShowFooterBranding
c.Data["ShowFooterVersion"] = setting.ShowFooterVersion
- c.Data["ServerNotice"] = readServerNotice()
+ c.renderNoticeBanner()
ctx.Map(c)
}