mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 01:41:04 +01:00
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