1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Make sure Rabl is using Oj

This commit is contained in:
Eugen Rochko 2017-04-05 18:51:15 +02:00
parent b142a2ebf5
commit 29ffe1cad3

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