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
path: root/config
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-03-24 12:57:28 +0400
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-03-24 12:57:28 +0400
commit7862201de9e3e8229e33a28d17fb2edb691eead0 (patch)
tree137bf166c23a25d86f5a56009f0520f17564555e /config
parentb816389182084bd0234d8409bdd4cfef41f8e502 (diff)
Add source for 'Rendered' message suppression
Diffstat (limited to 'config')
-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