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:
Robin Ward
2014-02-24 14:24:18 -05:00
parent 7f2512b707
commit 3151f59bc9
4 changed files with 2 additions and 37 deletions

View File

@ -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