Browse Source

Make sure Rabl is using Oj

master
Eugen Rochko 7 years ago
parent
commit
29ffe1cad3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      config/initializers/rabl_init.rb

+ 1
- 0
config/initializers/rabl_init.rb View File

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

Loading…
Cancel
Save