Guest User

Untitled

a guest
Oct 22nd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. # config/initializers/rabl_init.rb
  2. Rabl.configure do |config|
  3. # Commented as these are defaults
  4. # config.cache_all_output = false
  5. # config.cache_sources = false
  6. # config.escape_all_output = false
  7. config.json_engine = :oj # Any multi\_json engines
  8. # config.msgpack_engine = nil # Defaults to ::MessagePack
  9. # config.bson_engine = nil # Defaults to ::BSON
  10. # config.plist_engine = nil # Defaults to ::Plist::Emit
  11. # config.include_json_root = true
  12. # config.include_msgpack_root = true
  13. # config.include_bson_root = true
  14. # config.include_plist_root = true
  15. # config.include_xml_root = false
  16. # config.enable_json_callbacks = false
  17. # config.xml_options = { :dasherize => true, :skip_types => false }
  18. config.view_paths = ["app/views"]
  19. end
Add Comment
Please, Sign In to add comment