Sha256: 8ad44ead7716cf63b8a31ef660b6bf8d40369fc300021c9774f3b1627847b3a5

Contents?: true

Size: 191 Bytes

Versions: 5

Compression:

Stored size: 191 Bytes

Contents

module AuditedTimeline
  class Audit < Audited::Audit
    delegate :name, to: :user, allow_nil: true, prefix: true

    def auditable_class
      auditable_type.constantize
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
audited-timeline-2.0.0 lib/audited_timeline/audit.rb
audited-timeline-0 lib/audited_timeline/audit.rb
audited-timeline-1.1.1 lib/audited_timeline/audit.rb
audited-timeline-1.1.0 lib/audited_timeline/audit.rb
audited-timeline-1.0.5 lib/audited_timeline/audit.rb