mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 10:43:43 +08: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
|