Make sure Rabl is using Oj
This commit is contained in:
parent
b142a2ebf5
commit
29ffe1cad3
|
@ -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