Class: RefererTracking::Sweeper

Inherits:
ActionController::Caching::Sweeper
  • Object
show all
Defined in:
lib/referer_tracking/sweeper.rb

Instance Method Summary collapse

Instance Method Details

#after_create(record) ⇒ Object



4
5
6
7
8
# File 'lib/referer_tracking/sweeper.rb', line 4

def after_create(record)
  if controller && controller.respond_to?(:referer_tracking_after_create)
    controller.referer_tracking_after_create(record)
  end
end