2016-03-07 03:42:33 -08:00
|
|
|
Rabl.configure do |config|
|
2016-03-26 05:42:10 -07:00
|
|
|
config.cache_all_output = true
|
|
|
|
config.cache_sources = !!Rails.env.production?
|
2016-03-07 03:42:33 -08:00
|
|
|
config.include_json_root = false
|
2016-03-26 05:42:10 -07:00
|
|
|
config.view_paths = [Rails.root.join('app/views')]
|
2016-03-07 03:42:33 -08:00
|
|
|
end
|