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.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 87c5efd2142..ad3c03d8fc9 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -34,6 +34,7 @@ Gitlab::Application.configure do
# config.log_level = :debug
# Suppress 'Rendered template ...' messages in the log
+ # source: http://stackoverflow.com/a/16369363
%w{render_template render_partial render_collection}.each do |event|
ActiveSupport::Notifications.unsubscribe "#{event}.action_view"
end