Add recursive object support to API response (#4095)
This commit is contained in:
parent
1c1819a78a
commit
76eda2fc21
3
config/initializers/active_model_serializers.rb
Normal file
3
config/initializers/active_model_serializers.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
ActiveModelSerializers.config.tap do |config|
|
||||
config.default_includes = '**'
|
||||
end
|
Reference in a new issue