rabl_init.rb 244 B

1234567
  1. Rabl.configure do |config|
  2. config.json_engine = Oj
  3. config.cache_all_output = false
  4. config.cache_sources = Rails.env.production?
  5. config.include_json_root = false
  6. config.view_paths = [Rails.root.join('app/views')]
  7. end