lib/new_relic/control/frameworks/rails.rb in newrelic_rpm-3.3.1.beta1 vs lib/new_relic/control/frameworks/rails.rb in newrelic_rpm-3.3.1.beta2
- old
+ new
@@ -50,10 +50,10 @@
end
def install_browser_monitoring(config)
return if @browser_monitoring_installed
@browser_monitoring_installed = true
- return if config.nil? || !config.respond_to?(:middleware) || !browser_monitoring_auto_instrument?
+ return if config.nil? || !config.respond_to?(:middleware) || ! browser_monitoring_auto_instrument?
begin
require 'new_relic/rack/browser_monitoring'
config.middleware.use NewRelic::Rack::BrowserMonitoring
log!("Installed New Relic Browser Monitoring middleware", :info)
rescue Exception => e