Commit 7862201de9e3e8229e33a28d17fb2edb691eead0
1 parent
b8163891
Exists in
spb-stable
and in
3 other branches
Add source for 'Rendered' message suppression
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
config/environments/production.rb
... | ... | @@ -34,6 +34,7 @@ Gitlab::Application.configure do |
34 | 34 | # config.log_level = :debug |
35 | 35 | |
36 | 36 | # Suppress 'Rendered template ...' messages in the log |
37 | + # source: http://stackoverflow.com/a/16369363 | |
37 | 38 | %w{render_template render_partial render_collection}.each do |event| |
38 | 39 | ActiveSupport::Notifications.unsubscribe "#{event}.action_view" |
39 | 40 | end | ... | ... |