mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-21 14:23:04 +00:00
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
|
Loading…
Reference in a new issue