mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:57:10 -06:00
9 lines
171 B
Ruby
9 lines
171 B
Ruby
# frozen_string_literal: true
|
|
|
|
Oj::Rails.set_encoder()
|
|
Oj::Rails.set_decoder()
|
|
Oj::Rails.optimize()
|
|
|
|
# Not sure why it's not using this by default!
|
|
MultiJson.engine = :oj
|