rails 4.2: fix i18n tasks
refs #CNVS-26056 Change-Id: I0cb3c3c46ccee9e26972853aa0f08db0f0fffcce Reviewed-on: https://gerrit.instructure.com/70967 Tested-by: Jenkins Reviewed-by: Cody Cutrer <cody@instructure.com> Product-Review: James Williams <jamesw@instructure.com> QA-Review: James Williams <jamesw@instructure.com>
This commit is contained in:
parent
90bb00bc80
commit
1ce5a75400
|
@ -58,8 +58,7 @@ namespace :i18n do
|
|||
Bundler.setup
|
||||
# for consistency in how canvas does json ... this way our specs can
|
||||
# verify _core_en is up to date
|
||||
ActiveSupport::JSON.backend = :oj
|
||||
MultiJson.dump_options = {:escape_mode => :xss_safe}
|
||||
require 'config/initializers/json'
|
||||
|
||||
# set up rails i18n paths ... normally rails env does this for us :-/
|
||||
require 'action_controller'
|
||||
|
|
Loading…
Reference in New Issue