diff options
Diffstat (limited to 'config/environments/production.rb')
-rw-r--r-- | config/environments/production.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 8372331024f..931677b4ad7 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -43,7 +43,7 @@ Rails.application.configure do # Suppress 'Rendered template ...' messages in the log # source: http://stackoverflow.com/a/16369363 - %w{render_template render_partial render_collection}.each do |event| + %w[render_template render_partial render_collection].each do |event| ActiveSupport::Notifications.unsubscribe "#{event}.action_view" end |