Add recursive object support to API response (#4095)
This commit is contained in:
parent
1b16fa4d2f
commit
46a69513d4
1 changed files with 3 additions and 0 deletions
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
|
Loading…
Reference in a new issue