mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 23:21:11 +08:00
REFACTOR: We don't cache the json for the Site model anymore, so let's
rename and remove the methods leftover from that.
This commit is contained in:
@ -215,7 +215,7 @@ class ApplicationController < ActionController::Base
|
||||
private
|
||||
|
||||
def preload_anonymous_data
|
||||
store_preloaded("site", Site.cached_json(guardian))
|
||||
store_preloaded("site", Site.json_for(guardian))
|
||||
store_preloaded("siteSettings", SiteSetting.client_settings_json)
|
||||
store_preloaded("customHTML", custom_html_json)
|
||||
end
|
||||
|
Reference in New Issue
Block a user