1
0
mirror of https://framagit.org/tykayn/mastodon.git synced 2023-08-25 08:33:12 +02: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)