Make sure Rabl is using Oj

signup-info-prompt
Eugen Rochko 2017-04-05 18:51:15 +02:00
parent b142a2ebf5
commit 29ffe1cad3
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
Rabl.configure do |config| Rabl.configure do |config|
config.json_engine = Oj
config.cache_all_output = false config.cache_all_output = false
config.cache_sources = Rails.env.production? config.cache_sources = Rails.env.production?
config.include_json_root = false config.include_json_root = false