more global config ref cleanup (#7802)

This commit is contained in:
Chris
2017-11-09 14:46:20 -06:00
committed by GitHub
parent b0c18ece09
commit 10c5a927cb
49 changed files with 216 additions and 217 deletions

View File

@@ -201,7 +201,7 @@ func getFileLink(c *Context, w http.ResponseWriter, r *http.Request) {
}
resp := make(map[string]string)
resp["link"] = app.GeneratePublicLink(c.GetSiteURLHeader(), info)
resp["link"] = c.App.GeneratePublicLink(c.GetSiteURLHeader(), info)
w.Write([]byte(model.MapToJson(resp)))
}