Support for overriding client side translation keys

This commit is contained in:
Robin Ward
2015-11-20 17:14:01 -05:00
parent 523138f1fd
commit 1506eba28d
5 changed files with 75 additions and 27 deletions
@@ -288,6 +288,7 @@ class ApplicationController < ActionController::Base
store_preloaded("customHTML", custom_html_json)
store_preloaded("banner", banner_json)
store_preloaded("customEmoji", custom_emoji)
store_preloaded("translationOverrides", I18n.client_overrides_json)
end
def preload_current_user_data