lib/landable/traffic.rb in landable-1.9.2 vs lib/landable/traffic.rb in landable-1.10.0.rc1

- old
+ new

@@ -7,9 +7,10 @@ require 'landable/traffic/noop_tracker' module Landable module Traffic def track_with_landable! + yield and return if request.headers["DNT"] begin @tracker = Tracker.for self @tracker.track rescue => e Rails.logger.error e