module Timeliner::TrackingConcern

Implements activity-related functionality for controllers.

Private Instance Methods

track(trackable, key) click to toggle source

Track a `trackable` with a certain key. The current user is found in the controller.

# File lib/timeliner/tracking_concern.rb, line 8
def track(trackable, key)
  Timeliner.track trackable, key, current_user
end