Add recursive object support to API response (#4095)
This commit is contained in:
parent
1c1819a78a
commit
76eda2fc21
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