about summary refs log tree commit diff
path: root/config/initializers/rabl_init.rb
blob: f7be0c607a12780e1b987f056ddf38ae97890df2 (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