1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-17 07:32:09 +00:00
mastodon/config/initializers/active_model_serializers.rb
Eugen Rochko d87649db07
Disable AMS logging ()
Especially in production it's just noise and doesn't mix well with the log format
2018-05-26 01:08:31 +02:00

6 lines
172 B
Ruby

ActiveModelSerializers.config.tap do |config|
config.default_includes = '**'
end
ActiveSupport::Notifications.unsubscribe(ActiveModelSerializers::Logging::RENDER_EVENT)