mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-29 12:33:42 +01:00
692c5b439a
* Fix contexts not being dynamically included Fixes #11649 * Refactor Note context in serializer * Refactor Actor serializer
5 lines
172 B
Ruby
5 lines
172 B
Ruby
ActiveModelSerializers.config.tap do |config|
|
|
config.default_includes = '**'
|
|
end
|
|
|
|
ActiveSupport::Notifications.unsubscribe(ActiveModelSerializers::Logging::RENDER_EVENT)
|