Sha256: d1d7317ac416854da46827be70f15dd8b3118794c1a206fb6c82bc44552a05e5
Contents?: true
Size: 348 Bytes
Versions: 3
Compression:
Stored size: 348 Bytes
Contents
require "ahoy_events/version" require "ahoy_matey" require "ahoy_events/engine" require "ahoy/tracker" require "ahoy/subscribers/active_record" module Ahoy mattr_accessor :subscribers self.subscribers = [] end module Ahoy module Controller protected def ahoy @ahoy ||= Ahoy::Tracker.new(controller: self) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ahoy_events-0.1.1 | lib/ahoy_events.rb |
ahoy_events-0.1.0 | lib/ahoy_events.rb |
ahoy_events-0.0.2 | lib/ahoy_events.rb |