From 94da47271701401b6959bfd308d6c74fd30b22e2 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 27 Nov 2016 18:14:25 +0800 Subject: Golint fixed for modules/setting (#262) * golint fixed for modules/setting * typo fixed and renamed UNIXSOCKET to UnixSocket --- modules/context/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/context/context.go') diff --git a/modules/context/context.go b/modules/context/context.go index 0535da995a..57a9195306 100644 --- a/modules/context/context.go +++ b/modules/context/context.go @@ -159,7 +159,7 @@ func Contexter() macaron.Handler { Org: &Organization{}, } // Compute current URL for real-time change language. - ctx.Data["Link"] = setting.AppSubUrl + strings.TrimSuffix(ctx.Req.URL.Path, "/") + ctx.Data["Link"] = setting.AppSubURL + strings.TrimSuffix(ctx.Req.URL.Path, "/") ctx.Data["PageStartTime"] = time.Now() -- cgit v1.2.3