Class: Timelines::AuditTrail

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Attributes, ActiveModel::Model, ActiveModel::Validations
Defined in:
lib/timelines/models/concerns/audit_trail.rb

Instance Method Summary collapse

Instance Method Details

#eventsObject



11
12
13
# File 'lib/timelines/models/concerns/audit_trail.rb', line 11

def events
  reverse ? resource.events.reverse : resource.events
end