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