2016-03-07 06:42:33 -05:00
|
|
|
Rabl.configure do |config|
|
2017-04-05 12:51:15 -04:00
|
|
|
config.json_engine = Oj
|
2016-10-22 13:38:47 -04:00
|
|
|
config.cache_all_output = false
|
2017-03-05 20:25:41 -05:00
|
|
|
config.cache_sources = Rails.env.production?
|
2016-03-07 06:42:33 -05:00
|
|
|
config.include_json_root = false
|
2016-03-26 08:42:10 -04:00
|
|
|
config.view_paths = [Rails.root.join('app/views')]
|
2016-03-07 06:42:33 -05:00
|
|
|
end
|