Make sure Rabl is using Oj
parent
b89f37e445
commit
06e3d9bdd8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue