Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/production.rb')
-rw-r--r--config/environments/production.rb2
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