app/helpers/landable/traffic_helper.rb in landable-1.13.1 vs app/helpers/landable/traffic_helper.rb in landable-1.13.2
- old
+ new
@@ -1,7 +1,9 @@
module Landable
module TrafficHelper
+ attr_reader :tracker
+
def crawl_tracker
@tracker if @tracker.is_a? Landable::Traffic::CrawlTracker
end
def noop_tracker
@@ -20,12 +22,8 @@
@tracker if @tracker.is_a? Landable::Traffic::ScrapeTracker
end
def user_tracker
@tracker if @tracker.is_a? Landable::Traffic::UserTracker
- end
-
- def tracker
- @tracker
end
end
end