gearheads
/
mastodon
Archived
2
0
Fork 0

Make sure Rabl is using Oj

gh/stable
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