about summary refs log tree commit diff
path: root/config/initializers/rabl_init.rb
blob: 325bf0c78947c14105bbce072ed5c17d8ff5e610 (plain) (blame)
1
2
3
4
5
6
Rabl.configure do |config|
  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