Update blueprinter.rb
This commit is contained in:
parent
a1ff18092d
commit
c102d68dd7
1 changed files with 1 additions and 1 deletions
|
|
@ -4,5 +4,5 @@ require 'oj' # you can skip this if OJ has already been required.
|
||||||
|
|
||||||
Blueprinter.configure do |config|
|
Blueprinter.configure do |config|
|
||||||
config.generator = Oj # default is JSON
|
config.generator = Oj # default is JSON
|
||||||
# config.sort_fields_by = :definition
|
config.sort_fields_by = :definition
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue