Module: AbAdmin::Concerns::HasTracking::ClassMethods

Defined in:
lib/ab_admin/concerns/has_tracking.rb

Instance Method Summary collapse

Instance Method Details

#tracking_enabled?Boolean

Returns:

  • (Boolean)

26
27
28
# File 'lib/ab_admin/concerns/has_tracking.rb', line 26

def tracking_enabled?
  tracking_enabled && Track.tracking_enabled
end