about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-04-05 18:51:15 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-04-05 19:29:30 +0200
commit29ffe1cad3f473c7b6c0b651d065f8ed9373d37e (patch)
tree9ab13b9ed2367c1adf64cf047b0286dc3e1602bb
parentb142a2ebf51fb140062e52cb283736b6d4abe725 (diff)
Make sure Rabl is using Oj
-rw-r--r--config/initializers/rabl_init.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/rabl_init.rb b/config/initializers/rabl_init.rb
index f7be0c607..132a42144 100644
--- a/config/initializers/rabl_init.rb
+++ b/config/initializers/rabl_init.rb
@@ -1,4 +1,5 @@
 Rabl.configure do |config|
+  config.json_engine       = Oj
   config.cache_all_output  = false
   config.cache_sources     = Rails.env.production?
   config.include_json_root = false