about summary refs log tree commit diff
path: root/config/initializers/rabl_init.rb
blob: 132a42144234ca99bc455153dd7dcd9d5ded41c7 (plain) (blame)
1
2
3
4
5
6
7
Rabl.configure do |config|
  config.json_engine       = Oj
  config.cache_all_output  = false
  config.cache_sources     = Rails.env.production?
  config.include_json_root = false
  config.view_paths        = [Rails.root.join('app/views')]
end