Browse Source

Add recursive object support to API response (#4095)

master
Yamagishi Kazutoshi 7 years ago
committed by Eugen Rochko
parent
commit
76eda2fc21
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      config/initializers/active_model_serializers.rb

+ 3
- 0
config/initializers/active_model_serializers.rb View File

@ -0,0 +1,3 @@
ActiveModelSerializers.config.tap do |config|
config.default_includes = '**'
end

Loading…
Cancel
Save