Skip to content

Commit

Permalink
silence logging for active model serializers
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Dec 24, 2020
1 parent 95b2e42 commit bfb9c4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/initializers/active_model_serializer.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# frozen_string_literal: true

require "active_model_serializers"
ActiveSupport::Notifications.unsubscribe(ActiveModelSerializers::Logging::RENDER_EVENT)

0 comments on commit bfb9c4d

Please sign in to comment.